Closed pvoisin closed 7 years ago
I advise you use https://github.com/mgutz/execSync instead, which is providing the same features as this one + status code. I don't maintain this repo anymore, as it is said on the main page of the repo.
Quoting the repository README:
IMPORTANT: This repository is no longer maintained.
The same feature is now built-in with node v0.12: >https://nodejs.org/api/child_process.html#child_process_child_process_execsync_command_options
Hi! Is there a way to retrieve the exit status code of one command that is run synchronously with exec-sync?