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

Add platform-specific variants of Process.parse_arguments #12278

Conversation

HertzDevil
Copy link
Contributor

@HertzDevil HertzDevil commented Jul 16, 2022

Fixes #12193. Nothing is deprecated.

Not mentioned in the original issue is that the compiler already uses Process.parse_arguments when tokenizing %CRYSTAL_OPTS%; after this patch that environment variable will properly handle Windows-style escapes.

@HertzDevil HertzDevil added kind:feature platform:windows Windows support based on the MSVC toolchain / Win32 API topic:stdlib:system labels Jul 16, 2022
spec/std/process_spec.cr Outdated Show resolved Hide resolved
src/process/shell.cr Outdated Show resolved Hide resolved
@straight-shoota straight-shoota added this to the 1.6.0 milestone Aug 13, 2022
@straight-shoota straight-shoota merged commit 91d6927 into crystal-lang:master Aug 16, 2022
@HertzDevil HertzDevil deleted the feature/process-parse_arguments-windows branch August 16, 2022 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:feature platform:windows Windows support based on the MSVC toolchain / Win32 API topic:stdlib:system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Process.parse_arguments for Windows
2 participants