Import std.os.process_child
Child
class
Public Class Child
A program that a Command started, which runs beside this one until it ends, whether or not this program waits for it. Letting go of it, and of its streams, closes its pipes, but doesn't end it.
std/os/process_child.fb, line 77
-
Its stdin, when the Command piped it, a Writer to what the child reads.
-
Its stdout, when the Command piped it, a Reader of what the child writes there.
-
Its stderr, when the Command piped it.
-
The OS's number for its process.
-
Waits for it to end, and gives how it did. Its stdin closes first, so a child that reads to its end doesn't wait for more.
-
Wait's Async twin, which waits on the main thread instead of blocking it.
-
How it ended, or Null while it runs.
-
Ends it at once, unless it's ended already: by SIGKILL, or on Windows TerminateProcess, either way with Signal 9. Throws an IOError when the OS won't.
Report an issue with this page or with FutureBlitz on GitHub.