-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Bun Shell]: Error calling cmd/bat scripts when both args and path contain spaces #11328
Labels
bug
Something isn't working
Comments
2 tasks
Bun Version: 1.2.0 Facing similar issue when trying to run Azure Shell Commands from Bun Shell. try {
const allRows = await $`az storage entity query --table-name ${values.queueTable} --account-name ${values.storageAccount} --account-key ${storageAccountKey} --filter "(RowKey eq '${values.envId}') and (Capabilities eq '${values.hardwareType}')"`
} catch (err) {
console.log(`Failed with code ${err.exitCode}`);
console.log(err.stdout.toString());
console.log(err.stderr.toString());
}
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Bun is running?
1.1.9+bb13798d9
What platform is your computer?
Microsoft Windows NT 10.0.22635.0 x64
What steps can reproduce the bug?
run
What is the expected behavior?
I expect that code to show the package name and scripts like this code does:
What do you see instead?
Additional information
related: nodejs/node#7367
possible fixes:
SunsetTechuila@d963370
SunsetTechuila@1c05351
wrapping path in quotes doesn't seem to work
The text was updated successfully, but these errors were encountered: