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

String quotes are stripped before accessed via argv #20

Open
MartinHelmut opened this issue Feb 28, 2021 · 0 comments
Open

String quotes are stripped before accessed via argv #20

MartinHelmut opened this issue Feb 28, 2021 · 0 comments
Labels
bug A confirmed bug, something is not working.
Milestone

Comments

@MartinHelmut
Copy link
Member

All string command line arguments that are passed down to argv get stripped of string quotes by the caller (e.g. Bash). If so quotes need either to be inserted again or the whole argument list needs to be accessed in full.

Ways of doing this could be the GetCommandLineA function (processenv.h) in windows [source] or the _NSGetArgv access property (crt_externs.h) for Mac [source].

@MartinHelmut MartinHelmut added the bug A confirmed bug, something is not working. label Feb 28, 2021
@MartinHelmut MartinHelmut added this to the MVP milestone Mar 6, 2021
@MartinHelmut MartinHelmut modified the milestones: MVP, Version 1 May 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A confirmed bug, something is not working.
Projects
None yet
Development

No branches or pull requests

1 participant