Skip to content

fix(utils.execution): cmd file should exit with an error code#1893

Open
pchar2 wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
unit-image:1892-_rez_fwd_output_code_redirection
Open

fix(utils.execution): cmd file should exit with an error code#1893
pchar2 wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
unit-image:1892-_rez_fwd_output_code_redirection

Conversation

@pchar2
Copy link
Copy Markdown

@pchar2 pchar2 commented Dec 12, 2024

This will allow file execution through another shell to catch the exit code.

example:

color 00
cmd file.cmd
echo %errorlevel%
> 0  # instead of 1

closes: #1892

This will allow file execution through another shell to catch
the exit code.

example:
```file.cmd
color 00
```
```
cmd file.cmd
echo %errorlevel%
> 0  # instead of 1
```
@pchar2 pchar2 requested a review from a team as a code owner December 12, 2024 13:28
@linux-foundation-easycla
Copy link
Copy Markdown

CLA Not Signed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Binary suite exit code on windows

1 participant