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
This is easily reproducible even on the master branch run the following
ls <(echo hello)
This should just print a temp path, however It ends up locking the shell - only responding to Ctrl-c.
The text was updated successfully, but these errors were encountered:
It's not completely broken. gosh appears to wait until something reads the FIFO it creates (whereas bash doesn't care). If you do that, it works:
gosh
$ cat <(echo .) .
If you cat the FIFO in a different shell, that unblocks gosh:
<<<window 1>>> $ ls -l <(echo .) prw-r--r--@ 1 lmc staff 0 Sep 16 11:35 /var/folders/9d/vt3kqx293xx8w3tn8m1jy_wc0000gn/T//sh-interp-12e05f50832eb231 <gosh blocks> <<<window 2>>> $ cat /var/folders/9d/vt3kqx293xx8w3tn8m1jy_wc0000gn/T//sh-interp-12e05f50832eb231 . $ <<<window 1>>> <gosh unblocks> $
Sorry, something went wrong.
I can reproduce this with test -e <(echo foo).
test -e <(echo foo)
I misunderstood what man bash means when it says that process substitutions are run "asynchronously". I thought that meant that they ran concurrently but we still waited for them to finish, but it seems like bash does not, as is explained in https://unix.stackexchange.com/questions/388519/bash-wait-for-process-in-process-substitution-even-if-command-is-invalid.
man bash
I'm implementing that logic now.
2884acd
No branches or pull requests
This is easily reproducible even on the master branch run the following
ls <(echo hello)
This should just print a temp path, however It ends up locking the shell - only responding to Ctrl-c.
The text was updated successfully, but these errors were encountered: