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

Fix for "exit code is always zero on Windows" regression #417

Merged
merged 1 commit into from
Jan 20, 2016
Merged

Fix for "exit code is always zero on Windows" regression #417

merged 1 commit into from
Jan 20, 2016

Conversation

sekogan
Copy link
Contributor

@sekogan sekogan commented Dec 22, 2015

Seems like exit code is always zero on Windows again (was fixed in #50). Regression was caused by 911fcb6.

The main reason of the regression is that %EXITCODE% in EXIT %EXITCODE% command is expanded before the set /p command is executed.

Another problem is that a file with exit code is always created read-only and del command cannot delete it.

2. Delete exit code file even if it is read-only.
laurentj added a commit that referenced this pull request Jan 20, 2016
…dows

Fix for "exit code is always zero on Windows" regression
@laurentj laurentj merged commit 40b75bd into laurentj:master Jan 20, 2016
@laurentj laurentj added this to the SlimerJS 0.10 milestone Jan 20, 2016
@laurentj laurentj added the bug label Jan 20, 2016
@laurentj
Copy link
Owner

Thanks you

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

Successfully merging this pull request may close these issues.

2 participants