-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
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 run shebang. File: deno.ts. Doesn't work
#!/usr/bin/env -S deno run -A
import "npm:[email protected]/globals";
await $`cat`zx shebang. File: zx.ts. Doesn't work
#!/usr/bin/env zx
await $`cat`plain 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
- I agree to follow this project's Code of Conduct