Closed Arcterus closed 6 years ago
This requires some sort of method to spawn commands without waiting for them to finish (as they need to be started at the same time).
For the most part, this was resolved in 295ba2d3dab26878d3a2d7f9da31cf103ce31544.
The relevant sections are mostly in
src/posix/sh/command.rs
. ~We can't just useChildStdin
/ChildStdout
/ChildStderr
because we need to support other file descriptors as well, so we need to create the pipes manually usingnix
.~EDIT: dunno why I wrote the above, but
ChildStdout
should be passed into the next command as itsstdin
.