Update shell.js

This commit is contained in:
Namhyeon Go 2021-08-11 16:30:13 +09:00 committed by GitHub
parent 6c62891397
commit 4b90ce85f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);