Skip to content

Core\Process\Handle

A program that Core\Process::spawn started and that may still be running. readStdout and readStderr read its output a part at a time, and writeStdin writes to its input. wait waits for the end and returns a Core\Process\Result, and kill stops the program at once. Call one of them before your script or request ends. A program that is still running then is stopped, and Novis reports an error.

Returned by

You get a Core\Process\Handle from these methods:

Members

5 members.

MemberSignature
readStdoutreadStdout(): ?bytes
readStderrreadStderr(): ?bytes
writeStdinwriteStdin(bytes $data): void
waitwait(): Core\Process\Result
killkill(): void