Closed alyssais closed 6 years ago
Currently, execution would continue, so "()" would be safeEvaled, causing a crash.
safeEval
Instead, gracefully handle the failure, just like errors from outside the childProcess.exec callback (which are handled by try/catch).
childProcess.exec
try
catch
Currently, execution would continue, so "()" would be
safeEval
ed, causing a crash.Instead, gracefully handle the failure, just like errors from outside the
childProcess.exec
callback (which are handled bytry
/catch
).