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

No commands recognized when using via API #469

Open
lokimckay opened this issue Apr 6, 2024 · 1 comment
Open

No commands recognized when using via API #469

lokimckay opened this issue Apr 6, 2024 · 1 comment

Comments

@lokimckay
Copy link

Regular usage works as expected

bun install concurrently
bun concurrently "pwd" "whoami"

# produces:

[0] /c/dev
[1] loki-sff\loki
[1] whoami exited with code 0
[0] pwd exited with code 0

API usage does not work

bla.ts

const concurrently = require("concurrently");
concurrently(["pwd", "whoami"]);
bun install concurrently
bun bla.ts

# produces:

[0] '\"pwd\"' is not recognized as an internal or external command,
[0] operable program or batch file.
[0] pwd exited with code 1
[1] '\"whoami\"' is not recognized as an internal or external command,
[1] operable program or batch file.
[1] whoami exited with code 1
error

System info

OS: Windows 10 10.0.19045
CPU: (24) x64 AMD Ryzen 9 3900X 12-Core Processor
Memory: 8.37 GB / 15.93 GB

Bun version 1.1.0
"concurrently": "^8.2.2"
@gustavohenke
Copy link
Member

Hey, I'd like to fix this, but I my Windows 11 VM "runs" on ARM 64, which won't install Bun (oven-sh/bun#9824) 😕

If you like, you can start debugging around here to see which PATH your commands get.

const child = this.spawn(this.command, this.spawnOpts);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants