concurrently
concurrently copied to clipboard
No commands recognized when using via API
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"
Hey, I'd like to fix this, but I my Windows 11 VM "runs" on ARM 64, which won't install Bun (https://github.com/oven-sh/bun/issues/9824) 😕
If you like, you can start debugging around here to see which PATH your commands get. https://github.com/open-cli-tools/concurrently/blob/ffdcb12b3a2e7b7d650390bd41bd81f61ad588a1/src/command.ts#L154