jeremyfa / node-exec-sync

IMPORTANT: This repository is no longer maintained.
48 stars 26 forks source link

How about exit status code? #17

Closed pvoisin closed 7 years ago

pvoisin commented 11 years ago

Hi! Is there a way to retrieve the exit status code of one command that is run synchronously with exec-sync?

jeremyfa commented 11 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.

jeremyfa commented 7 years ago

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