dthree / vorpal

Node's framework for interactive CLIs
http://vorpal.js.org
MIT License
5.64k stars 280 forks source link

Code `2` on clean exit #118

Closed omnidan closed 8 years ago

omnidan commented 8 years ago

When exiting via exit or Ctrl+C, vorpal seems to quit with an exit code of 2.

This makes npm show errors when running the script within npm start.

dthree commented 8 years ago

Do you know what should be expected from SIGINT? This should be a simple fix.

omnidan commented 8 years ago

@dthree node itself exits with return code 0 on Ctrl+C

bash-4.3$ node
>
(To exit, press ^C again or type .exit)
>
bash-4.3$ echo $?
0
dthree commented 8 years ago

K thanks.

dthree commented 8 years ago

Fixed. Live in v1.10.3.

omnidan commented 8 years ago

@dthree Awesome! :+1: