Interface: StricliProcess
Simple interface that mirrors NodeJS.Process but only requires the minimum API required by Stricli.
Extends
WritableStreams
Properties
env?
readonlyoptionalenv:Readonly<Partial<Record<string,string>>>
Object that stores all available environment variables.
See
EnvironmentVariableName for variable names used by Stricli.
Defined in
packages/core/src/context.ts:47
exitCode?
optionalexitCode:null|string|number
A number which will be the process exit code.
Defined in
packages/core/src/context.ts:51
stderr
readonlystderr:Writable
Contains a writable stream connected to stderr (fd 2).
Inherited from
WritableStreams.stderr
Defined in
packages/core/src/context.ts:27
stdout
readonlystdout:Writable
Contains a writable stream connected to stdout (fd 1).
Inherited from
WritableStreams.stdout