I try to run a tool that uses TSCBasic.Process.checkNonZeroExit(arguments: arguments) in two threads. The called executable is the same but the arguments differ.
The second call errors with error: close error: Unknown error -1.
This comes from try close(fd: stdinPipe[0]) in Process::launch.
I try to run a tool that uses
TSCBasic.Process.checkNonZeroExit(arguments: arguments)in two threads. The called executable is the same but the arguments differ.The second call errors with
error: close error: Unknown error -1.This comes from
try close(fd: stdinPipe[0])inProcess::launch.