Issue 50 - User defined exit codes#278
Issue 50 - User defined exit codes#278laurentj merged 2 commits intolaurentj:masterfrom abozhilov:issue-50
Conversation
There was a problem hiding this comment.
By doing this, we will not know when there is a problem with Gecko. I think it is better to keep the "official" exit status code, and read the exitstatus file only if EXITCODE is 0.
|
We should suppress the exitstatus file before launching slimerjs, else at the end we will read the status code of a previous launch in the case where the same profile is used, and there is no exit() call or there is a crash... |
Issue 50 - User defined exit codes
|
In a batch file use |
|
I'm wondering if this PR made it into the latest release. Looking at the source for |
|
@bensu no, only in the master branch |
|
Thanks @laurentj ! I'll wait for the next release then. |
Checkout tests https://github.com/abozhilov/slimerjs-exit
For the Windows .bat file I'm not sure how to implement exit status. Don't know if it even supported.