### What happened? According to https://github.com/google/zx/issues/99, zx should process stdin but it seems to be not working ### How it should work? See demo. The expectation is that deno and zx scripts would work the same as bash script ### How to reproduce the bug? `deno run` shebang. File: deno.ts. Doesn't work ```typescript #!/usr/bin/env -S deno run -A import "npm:zx@8.8.5/globals"; await $`cat` ``` `zx` shebang. File: zx.ts. Doesn't work ```typescript #!/usr/bin/env zx await $`cat` ``` plain bash. FIle: bash.sh. Works ```bash #!/usr/bin/env bash cat ``` See demo: https://github.com/user-attachments/assets/f57c4bdd-1dc2-497e-bbe3-c3e9620a215d ### Version 8.8.5 ### What's OS kind? Mac ### What JS runtime is used? Deno ### Runtime Version deno 2.5.4 (stable, release, aarch64-apple-darwin) v8 14.0.365.5-rusty typescript 5.9.2 ### Error stack / relevant log output ```shell ``` ### Code of Conduct - [x] I agree to follow this project's Code of Conduct
What happened?
According to #99, zx should process stdin but it seems to be not working
How it should work?
See demo. The expectation is that deno and zx scripts would work the same as bash script
How to reproduce the bug?
deno runshebang. File: deno.ts. Doesn't workzxshebang. File: zx.ts. Doesn't workplain bash. FIle: bash.sh. Works
#!/usr/bin/env bash catSee demo:
Screen.Recording.2025-12-16.at.10.33.47.mov
Version
8.8.5
What's OS kind?
Mac
What JS runtime is used?
Deno
Runtime Version
deno 2.5.4 (stable, release, aarch64-apple-darwin) v8 14.0.365.5-rusty typescript 5.9.2
Error stack / relevant log output
Code of Conduct