Execute a shell command with Node.js child_process.exec.
Arguments can be any mix of command fragments (strings / arrays of strings,
joined with " "), one options object or boolean (silent shorthand) as the
first, last, or second to last argument, and a callback as the last argument.
Returns the child process when a callback is given, else an ExecResult thenable.
Execute a shell command with Node.js
child_process.exec.Arguments can be any mix of command fragments (strings / arrays of strings, joined with
" "), one options object or boolean (silent shorthand) as the first, last, or second to last argument, and a callback as the last argument.Returns the child process when a callback is given, else an ExecResult thenable.