getstatusoutput
getstatusoutput(
cmd:string): [number,string]
Defined in: packages/pythonlib/src/subprocess.ts:273
Get the exit status and output of a shell command.
Parameters
| Parameter | Type | Description |
|---|---|---|
cmd | string | Shell command to run |
Returns
[number, string]
Tuple of [exit_status, output]