Skip to content

getoutput

getoutput(cmd: string): string

Defined in: packages/pythonlib/src/subprocess.ts:258

Get the output of a shell command (convenience function).

Parameters

ParameterTypeDescription
cmdstringShell command to run

Returns

string

Command output as string