We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#!/usr/bin/env zx import {$} from 'zx' console.log($.sync`echo -e "Item1\nItem2\nItem3"`.lines());
This code should output: [ 'Item1', 'Item2', 'Item3' ] This is at least the behavior in version 8.1.4.
[ 'Item1', 'Item2', 'Item3' ]
It outputs an array with an empty string: [ '' ]
[ '' ]
zx
index.mjs
// index.mjs #!/usr/bin/env zx import {$} from 'zx' console.log($.sync`echo -e "Item1\nItem2\nItem3"`.lines());
chmod +x index.mjs
zx index.mjs
The text was updated successfully, but these errors were encountered:
fix: fill stdall store on sync spawn
a983b13
closes google#911
@floriangeorgi,
Thanks for the report. The fix is on the way.
Sorry, something went wrong.
4309359
Successfully merging a pull request may close this issue.
Expected Behavior
This code should output:
[ 'Item1', 'Item2', 'Item3' ]
This is at least the behavior in version 8.1.4.
Actual Behavior
It outputs an array with an empty string:
[ '' ]
Steps to Reproduce
zx
and addindex.mjs
.chmod +x index.mjs
zx index.mjs
Specifications
windows/macos/ linuxdeno/bunThe text was updated successfully, but these errors were encountered: