Skip to content

Fix sys.exit(1) indentation bug in run_command#452

Open
Jah-yee wants to merge 1 commit intomicrosoft:mainfrom
Jah-yee:fix-sys-exit-indentation
Open

Fix sys.exit(1) indentation bug in run_command#452
Jah-yee wants to merge 1 commit intomicrosoft:mainfrom
Jah-yee:fix-sys-exit-indentation

Conversation

@Jah-yee
Copy link

@Jah-yee Jah-yee commented Mar 13, 2026

The sys.exit(1) was outside the except block, causing it to run unconditionally after every subprocess command - even on success.

This affects:

  • setup_env.py line 107
  • utils/e2e_benchmark.py line 23

Fixes #447

The sys.exit(1) was outside the except block, causing it to run
unconditionally after every subprocess command - even on success.

This affects:
- setup_env.py line 107
- utils/e2e_benchmark.py line 23

Fixes microsoft#447
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.

sys.exit(1) runs unconditionally due to indentation bug in run_command()

1 participant