mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-12 00:45:14 +00:00
Update shell.js
This commit is contained in:
parent
6c62891397
commit
4b90ce85f5
|
@ -75,7 +75,7 @@ var ShellObject = function() {
|
|||
|
||||
this.exec = function(cmd, stdOutPath, stdErrPath) {
|
||||
var stdout, stderr;
|
||||
var seed = parseInt(Math.random() * 10000);
|
||||
var seed = parseInt(Math.random() * 10000);
|
||||
var stdOutPath = (typeof(stdOutPath) === "undefined" ? "tmp\\stdout_" + seed + ".txt" : stdOutPath);
|
||||
var stdErrPath = (typeof(stdErrPath) === "undefined" ? "tmp\\stderr_" + seed + ".txt" : stdErrPath);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user