Skip to content

About #4990, Makes Window build fail quicker - #5175

Merged
ezyang merged 1 commit into
pytorch:masterfrom
peterjc123:script_fix
Feb 12, 2018
Merged

ezyang merged 1 commit into
pytorch:masterfrom
peterjc123:script_fix

Conversation

@peterjc123

@peterjc123 peterjc123 commented Feb 11, 2018 •

Copy link
Copy Markdown
Collaborator

The reason that it continues to build when error occurs is the use of exit /b 1, which is not sufficient for returning error code to python. According to the post here, it can be replaced by exit 1 to generate the correct error code.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants