Skip to content
This repository

Add process.exit #242

Closed
Gozala opened this Issue · 1 comment

2 participants

Irakli Gozalishvili James Halliday
Irakli Gozalishvili

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.

James Halliday
Owner

This might be a useful thing for process to support.

Victor vicapow referenced this issue in defunctzombie/node-process
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
Something went wrong with that request. Please try again.