Class: ShellError
@pvm/core.ShellError
Hierarchy
Error
↳
ShellError
Constructors
constructor
• new ShellError(message?
)
Parameters
Name | Type |
---|---|
message? | string |
Inherited from
Error.constructor
Defined in
website/node_modules/typescript/lib/lib.es5.d.ts:979
Properties
pid
• pid: number
= -Infinity
Defined in
packages/pvm-core/lib/shell/index.ts:12
signal
• signal: null
| Signals
= null
Defined in
packages/pvm-core/lib/shell/index.ts:11
status
• status: null
| number
= null
Defined in
packages/pvm-core/lib/shell/index.ts:10
stderr
• stderr: string
| Buffer
= ''
Defined in
packages/pvm-core/lib/shell/index.ts:8
stdout
• stdout: string
| Buffer
= ''
Defined in
packages/pvm-core/lib/shell/index.ts:9
Methods
assignShellResult
â–¸ assignShellResult(result
): void
Parameters
Name | Type |
---|---|
result | SpawnSyncReturns <string | Buffer > |
Returns
void
Defined in
packages/pvm-core/lib/shell/index.ts:23
assignShellResult
â–¸ Static
assignShellResult(target
, result
): ShellError
Parameters
Name | Type |
---|---|
target | ShellError |
result | SpawnSyncReturns <string | Buffer > |