Skip to content

Commit ae06b51

Browse files
authored
Update lib.rs
to print a currently running argv to make it easier to reproduce the situation where a panic happens
1 parent c4a60dd commit ae06b51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ impl Default for Version {
10621062
}
10631063

10641064
fn run(cmd: &mut Command, program: &str) {
1065-
println!("running: {:?}", cmd);
1065+
eprintln!("running: {:?}", cmd);
10661066
let status = match cmd.status() {
10671067
Ok(status) => status,
10681068
Err(ref e) if e.kind() == ErrorKind::NotFound => {

0 commit comments

Comments
 (0)