Closed
Description
Update: This bug is occurring on Mac OS X in a particular (perhaps broken) terminal setup. Still I would like to know why cargo is not behaving properly.
I'm not sure if this is something wrong with my particular setup, or if something has recently changed in Rust or Cargo that would cause this, but I am finding that my cargo invocations (both valid commands and erroneous ones) are exiting prematurely; it seems like the main thread finishes and exits the process, without e.g. flushing buffered I/O. This makes for a frustrating user experience if you don't suspect it is happening.
Concrete examples (where the cases that I pipe the output of cargo
to cat
cause it to actually finish the desired command, AFAICT).
% pwd
/Users/fklock/Dev/Rust/tango
% ls
Cargo.lock Cargo.toml~ LICENSE-MIT src
Cargo.toml LICENSE-APACHE README.md tests
% cargo --version
% cargo --version | cat
cargo 0.9.0-nightly (6ffd134 2016-01-26)
% cargo build
% echo $?
101
% cargo build | cat
Compiling winapi-build v0.1.1
Compiling libc v0.2.6
Compiling kernel32-sys v0.2.1
Compiling walkdir v0.1.5
Compiling filetime v0.1.9
Compiling tango v0.3.3 (file:///Users/fklock/Dev/Rust/tango)
% echo $?
0
%
Metadata
Metadata
Assignees
Labels
No labels