Process$Typings<T extends RunOptions> extension

on

Properties

pid num
The operating system's process ID for the sub-process.
no setter
rid num
The resource ID of the sub-process.
no setter
stderr → dynamic
A reference to the sub-processes stderr, which allows interacting with the sub-process at a low level.
no setter
stdin → dynamic
A reference to the sub-processes stdin, which allows interacting with the sub-process at a low level.
no setter
stdout → dynamic
A reference to the sub-processes stdout, which allows interacting with the sub-process at a low level.
no setter

Methods

close() → void
Clean up resources associated with the sub-process instance.
kill([Signal? signo]) → void
Send a signal to process. Default signal is "SIGTERM".
output() Future<Uint8List>
Buffer the stdout until EOF and return it as Uint8Array.
status() Future<ProcessStatus>
Wait for the process to exit and return its exit status.
stderrOutput() Future<Uint8List>
Buffer the stderr until EOF and return it as Uint8Array.