Log all commands before they're done.
This commit is contained in:
@@ -60,6 +60,7 @@ struct TaskStatus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn logging_run(cmd: &mut Command) -> Result<TaskStatus, SyncError> {
|
fn logging_run(cmd: &mut Command) -> Result<TaskStatus, SyncError> {
|
||||||
|
info!("{:?}", cmd);
|
||||||
let start = Instant::now();
|
let start = Instant::now();
|
||||||
let o = cmd.output()?;
|
let o = cmd.output()?;
|
||||||
let ts = TaskStatus {
|
let ts = TaskStatus {
|
||||||
|
|||||||
Reference in New Issue
Block a user