Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.pipe causes zx to hang in 8.2.0 #935

Closed
innermatrix opened this issue Nov 8, 2024 · 0 comments · Fixed by #936
Closed

.pipe causes zx to hang in 8.2.0 #935

innermatrix opened this issue Nov 8, 2024 · 0 comments · Fixed by #936
Labels

Comments

@innermatrix
Copy link

This file

import { $ } from 'zx';

await $`echo 1`.pipe(process.stdout);
console.log('2');

in zx 8.1.9:

$ yarn add zx@8.1.9 
$ bun run ./test.mts
1
2
$

in zx 8.2.0:

$ yarn add zx@8.2.0
$ bun run ./test.mts
1
<never returns to shell prompt>
@antongolub antongolub added the bug label Nov 8, 2024
antongolub added a commit to antongolub/zx that referenced this issue Nov 8, 2024
antongolub added a commit to antongolub/zx that referenced this issue Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants