mirror of
https://gh-proxy.org/https://github.com/klinsmaya/workdsh.git
synced 2026-11-11 02:46:56 +08:00
24 lines
649 B
Diff
24 lines
649 B
Diff
diff --git a/lib/index.js b/lib/index.js
|
|
--- a/lib/index.js
|
|
+++ b/lib/index.js
|
|
@@ -351,7 +351,8 @@ function spawnPipedProcess(api, options) {
|
|
startupInfo = allocStartupInfo();
|
|
encodeStartupInfo(startupInfo, {
|
|
cb: 104,
|
|
- dwFlags: 256,
|
|
+ dwFlags: 257,
|
|
+ wShowWindow: 0,
|
|
hStdInput: stdIn.read,
|
|
hStdOutput: stdOut.write,
|
|
hStdError: stdErr.write
|
|
@@ -487,7 +488,8 @@ function spawnInheritedJobProcess(api, options) {
|
|
startupInfo = allocStartupInfo();
|
|
encodeStartupInfo(startupInfo, {
|
|
cb: 104,
|
|
- dwFlags: 256,
|
|
+ dwFlags: 257,
|
|
+ wShowWindow: 0,
|
|
hStdInput: stdIn,
|
|
hStdOutput: stdOut,
|
|
hStdError: stdErr
|