checkCall
checkCall(
args:string|string[],options?:SubprocessOptions):number
Defined in: packages/pythonlib/src/subprocess.ts:235
Run a command and raise CalledProcessError if it returns non-zero.
Parameters
| Parameter | Type | Description |
|---|---|---|
args | string | string[] | Command and arguments |
options? | SubprocessOptions | Subprocess options |
Returns
number
Exit code (always 0 if no exception)