Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to call exit on the nesh #19

Open
cooolbasha opened this issue Jul 16, 2014 · 3 comments
Open

Is there a way to call exit on the nesh #19

cooolbasha opened this issue Jul 16, 2014 · 3 comments
Labels

Comments

@cooolbasha
Copy link

Is there a way to call exit or stop on the nesh REPL

@ccheever
Copy link
Contributor

You can use the special command .exit

ccheever@Charless-MacBook-Air:~$nesh -cf
CoffeeScript 1.7.1 on Node v0.10.28 with fibrous undefined
Type .help for more information
fibrous-coffee> .exit

ccheever@Charless-MacBook-Air:~$

Type .help to see all the special commands you can use.

On most *nix platforms Ctrl-D will also work.

@cooolbasha
Copy link
Author

using method just like start on the repl

@ccheever
Copy link
Contributor

The .exit command in the coffee-script REPL (which nesh is built on top of) just does process.exit() which will terminate your program, not just the REPL, but that may be what you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants