Add process.exit #242

Closed
Gozala opened this Issue Nov 24, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

Gozala commented Nov 24, 2012

In phantomify I need process exit so I can run node programs in phantomjs and then close them once they're done with their tasks. Since browserify does not has process.exit I workaround it this way:

https://github.com/Gozala/phantomify/blob/master/process.js#L5-L11
https://github.com/Gozala/phantomify/blob/master/phantom-bootstrap.js#L23-L26

If you'd be ok with adding this to browserify I'd love to send pull request inn.

Collaborator

substack commented Feb 22, 2013

This might be a useful thing for process to support.

@substack substack closed this Feb 22, 2013

@vicapow vicapow referenced this issue in defunctzombie/node-process Oct 25, 2013

Closed

added process.exit -> window.close #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment