DanielKeep / cargo-script

Cargo script subcommand
Other
729 stars 37 forks source link

Fix blocked stdout #72

Open Hakuyume opened 5 years ago

Hakuyume commented 5 years ago

fix #67

Currently, cargo_target_by_message calls wait on the child process before reading its stdout. This causes a deadlock.

cgwalters commented 5 years ago

Confirmed this fixes the problem; patch also looks good to me.