Open songinnight opened 1 week ago
I cannot reproduce this in powershell or cmd / Windows terminal or conhost.
can you reply with more details about how your script is being executed.
Hello @songinnight. Please provide a minimal reproduction using a GitHub repository, Replit, or CodeSandbox. Issues marked with needs repro
will be closed if they have no activity within 3 days.
https://github.com/songinnight/bun-bug-windows-batch
I don't know if it's only happening on my computer with Windows. Is everyone else okay? When I running on Linux(Ubuntu) or WSL, there's no problem.
test.js
console.log('This is Bun');
test.cmd
@echo off
echo Start Bun
bun test.js
echo It doesn't get there.
bun test.js
bun test.js
bun test.js
What version of Bun is running?
1.1.16
What platform is your computer?
Windows 11
What steps can reproduce the bug?
Bun terminates windows batch script(.cmd) but, node.js not. Therefore, I cannot run the following commands in sequence.
test.js
batch.cmd
What is the expected behavior?
Bun should not stop windows batch script.
What do you see instead?
No response
Additional information
No response