phantomjs icon indicating copy to clipboard operation
phantomjs copied to clipboard

Multiple calls to phantom.exit result in killing the first exit code

Open InputNeuron opened this issue 13 years ago • 0 comments

The following script:

phantom.exit( 0 ); phantom.exit( 1 );

Will return an exit status code of '1'... it should return a status code of 0.

While this might not be possible to exit immediately, the second call to exit() should not destroy the exit code of the first.

InputNeuron avatar Oct 28 '13 23:10 InputNeuron