mirror of
https://github.com/restic/restic.git
synced 2025-12-29 11:09:35 -05:00
According to the documentation of exec.Cmd Wait() must not be called before completing all reads from the pipe returned by StdErrPipe(). Thus return a context that is canceled once rclone has exited and use that as a precondition to calling Wait(). This should ensure that all errors printed to stderr have been copied first. |
||
|---|---|---|
| .. | ||
| backend.go | ||
| backend_test.go | ||
| config.go | ||
| config_test.go | ||
| internal_test.go | ||
| stdio_conn.go | ||