execute a command and return its result
differences from node's child_process.exec():
child_process.exec()
options.stdio
'inherit'
options.quiet
true
options.throwOnError
command to execute (first element is the command itself, the rest are arguments to it)
Optional
execute a command and return its result
differences from node's
child_process.exec():options.stdiois set to'inherit', the command will be printed to the console (unlessoptions.quietis set totrue)options.throwOnErroris set totrue