Open RiskyMH opened 3 months ago
currently triaging what the expected behavior should be. https://stackoverflow.com/questions/7760545/escape-double-quotes-in-parameter has some good reading on the topic.
if this is blocking you, bunx cowsay """"
as input gets the equivalent posix behavior
Thank you for the response, this is a pretty not important issue but I reported as it's a "crash" that probably shouldn't crash. This was more found when I was trying to test how fast it was and then interested on what empty string would yield.
Personally, I would expect it to either give arg of empty string to program or just none at all.
How can we reproduce the crash?
bunx cowsay ""
on windows (note any package seems to crash with empty input in quotation marks, cowsay is just simple example)Relevant log output
Stack Trace (bun.report)
Bun v1.1.24 (
85a3299
) on windows x86_64 [BunxCommand]panic: reached unreachable code
bun_shim_impl.zig:730
:launcher
run_command.zig:470
:runBinary
bunx_command.zig:532
:exec
cli.zig:1579
:start
cli.zig:62
:start
main.zig:51
:main
exe_common.inl:78
:invoke_main