Spawn a process with arguments and throw an error if the process fails.
Parameters are same as child_process.spawnSync
(see Node.js docs).
Use this method if you want the safe argument parsing of spawnSync
combined with the smart output handling of execSync
.
Contents of stdout as buffer or string
Is a Graphical User Interface avaiable in the environment in which the current command is running?
Process utility to wrap callback process routines into promises Turn nextTick into a promise to prevent nesting
called before promise is resolved
arguments passed to the callback
Generated using TypeDoc
A collection of utilities related to the running process.