oven-sh/bun
Bun.spawn with a non-existant cwd prints error with wrong path
Ouverte
#8 024 ouverte le 7 janv. 2024
bugbun:spawngood first issue
Métriques du dépôt
- Stars
- (90 348 étoiles)
- Métriques de merge PR
- (Merge moyen 1j 17h) (357 PRs mergées en 30 j)
Description
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