Skip to content

Commit

Permalink
Ensure we are using the real cat (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtyers committed Oct 23, 2020
1 parent bbbc92b commit c18959a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion async.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ _async_worker() {
# recreate it when there are no other jobs running.
if (( ! coproc_pid )); then
# Use coproc as a mutex for synchronized output between children.
coproc cat
coproc command -p cat
coproc_pid="$!"
# Insert token into coproc
print -n -p "t"
Expand Down

0 comments on commit c18959a

Please sign in to comment.