oven-sh/bun
Bun.spawn with a non-existant cwd prints error with wrong path
オープン
#8,024 opened on 2024/01/07
bugbun:spawngood first issue
Repository metrics
- Stars
- (90,348 個のスター)
- PR merge metrics
- (平均マージ 1d 17h) (30d で 357 merged PRs)
説明
What version of Bun is running?
No response
What platform is your computer?
No response
What steps can reproduce the bug?
adapted from my journal processing code:
Bun.spawnSync({
cmd: ['python3'],
stdio: ["inherit", "inherit", "inherit"],
cwd: `/something/that/doesnt/exist`
});
What is the expected behavior?
print that the current working directory doesnt exist
What do you see instead?
it says the binary doesnt exist
Additional information
No response