mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-22 07:13:09 +00:00
force output to parent streams in windows
This commit is contained in:
parent
a7f33bf15f
commit
8997573d60
@ -29,7 +29,7 @@ type
|
||||
client: ?CodexClient
|
||||
|
||||
proc start(node: NodeProcess) =
|
||||
if node.debug:
|
||||
if node.debug or defined(windows):
|
||||
node.process = osproc.startProcess(
|
||||
executable,
|
||||
workingDir,
|
||||
@ -40,8 +40,7 @@ proc start(node: NodeProcess) =
|
||||
node.process = osproc.startProcess(
|
||||
executable,
|
||||
workingDir,
|
||||
node.arguments,
|
||||
options={poStdErrToStdOut, poInteractive}
|
||||
node.arguments
|
||||
)
|
||||
|
||||
proc waitUntilOutput*(node: NodeProcess, output: string) =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user