Skip to content

Commit eb953c6

Browse files
committed
Adding hpc_exec_wrapper as relative path
1 parent ad644bb commit eb953c6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

winhpcjs.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
var hpc = require("../hpc_exec_wrapper/exec.js");
1+
var fs = require("fs");
2+
var path = require("path");
3+
var os = require("os");
4+
var hpc = require(path.join(__dirname, "../hpc_exec_wrapperjs/exec.js"));
25
var spawnOpts = {
36
timeout : 10000
47
};
5-
var fs = require("fs");
6-
var os = require("os");
7-
var path = require("path");
88
var powershell = "C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe";
99
var HPCsnapIn = "Add-PSSnapIn Microsoft.HPC;";
1010
// Format Powershell output as list

0 commit comments

Comments
 (0)