Universal DevTools Kit SDK / @u-devtools/utils-node / executeCommand
Function: executeCommand()
executeCommand(
command,cwd,options?):Promise<{stderr:string;stdout:string; }>
Defined in: package-manager.ts:175
Execute a shell command
Parameters
| Parameter | Type | Description |
|---|---|---|
command | string | Command to execute |
cwd | string | Working directory |
options? | { maxBuffer?: number; } | Execution options |
options.maxBuffer? | number | - |
Returns
Promise<{ stderr: string; stdout: string; }>
Command output