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

Better escape command line arguments #481

Merged
merged 1 commit into from
Dec 6, 2023
Merged

Conversation

niknetniko
Copy link
Member

Instead of using shlex.quote and then manually joining commands, use shlex.join, which has better results, especially for flags and other options.

Fix #480.

Instead of using `shlex.quote` and then manually joining commands, use
`shlex.join`, which has better results, especially for flags and
other options.
@niknetniko niknetniko merged commit 91930a4 into master Dec 6, 2023
7 checks passed
@niknetniko niknetniko deleted the enhance/better-quoting branch December 6, 2023 12:11
@pdawyndt
Copy link
Contributor

pdawyndt commented Dec 6, 2023

Good job! This definitely results in a much cleaner feedback table for this students.

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.

Do not quote options on bash command lines generated by TESTed
2 participants