skhatri / grunt-nexus-deployer

Nexus Artifact deployer from grunt against snapshot and release repositories.
MIT License
13 stars 69 forks source link

Fix #11. Use "close" instead of "exit". #12

Closed joaogbcravo closed 9 years ago

joaogbcravo commented 9 years ago

Exit event was returning before stdin stream be closed. This made an intermittent behaviour, failing to write the variable "status" sometimes.

close event - https://nodejs.org/api/child_process.html#child_process_event_exit exit event - https://nodejs.org/api/child_process.html#child_process_event_close