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

feat(runtime): add windowsRawArguments to SpawnOptions #16319

Merged
merged 1 commit into from
Oct 17, 2022

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Oct 17, 2022

This PR adds windowsRawArguments to SpawnOptions. The option enables skipping the default quoting and escaping while creating the command on windows.

The option works in a similar way as windowsVerbatimArguments in child_process.spawn options in Node.js, and is necessary for simulating it in std/node.

closes #8852

@kt3k
Copy link
Member Author

kt3k commented Oct 17, 2022

Landing for now. This option belongs to the unstable Deno.spawn(Sync|Child). We can still iterate on the naming later.

@kt3k kt3k merged commit e41af14 into denoland:main Oct 17, 2022
@kt3k kt3k deleted the spawn-windows-raw-arguments branch October 17, 2022 10:51
bartlomieju pushed a commit that referenced this pull request Oct 17, 2022
This change adds `windowsRawArguments` to `SpawnOptions`. The option enables
skipping the default quoting and escaping while creating the command on
windows.

The option works in a similar way as `windowsVerbatimArguments` in
child_process.spawn options in Node.js, and is necessary for simulating
it in `std/node`.

closes #8852
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.

The quotation in cmd of Deno.run
2 participants