Class Process
Implements
- Process
Accessors
args
- get args(): string[]
Returns string[]
code
- get code(): undefined | number
Get exit code
Returns undefined | number
command
- get command(): string
Get command name
Returns string
cwd
- get cwd(): string
Get working directory
Returns string
entry
events
gid
- get gid(): number
Get group ID
Returns number
kernel
- get kernel(): Kernel
Get kernel instance
Returns Kernel
parent
- get parent(): undefined | number
Get/set parent process ID
Returns undefined | number
- set parent(parent: undefined | number): void
Get/set parent process ID
Parameters
- parent: undefined | number
Returns void
pid
- get pid(): number
Get process ID
Returns number
shell
- get shell(): Shell
Get shell instance
Returns Shell
status
- get status(): ProcessStatus
Get process status
Returns ProcessStatus
stderr
- get stderr(): WritableStream<Uint8Array>
Get standard error stream
Returns WritableStream<Uint8Array>
stdin
- get stdin(): ReadableStream<Uint8Array>
Get standard input stream
Returns ReadableStream<Uint8Array>
stdout
- get stdout(): WritableStream<Uint8Array>
Get standard output stream
Returns WritableStream<Uint8Array>
terminal
- get terminal(): Terminal
Get terminal instance
Returns Terminal
uid
- get uid(): number
Get user ID
Returns number
Get command line arguments