restic/internal/backend/rclone
Michael Eischer 5600f11696 rclone: Fix stderr handling if command exits unexpectedly
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.
2022-10-08 20:16:06 +02:00
..
backend.go rclone: Fix stderr handling if command exits unexpectedly 2022-10-08 20:16:06 +02:00
backend_test.go all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
config.go rclone: Fix timeout calculation 2021-11-07 17:49:33 +01:00
config_test.go rclone: add timeout option and documentation 2021-11-07 17:49:21 +01:00
internal_test.go rclone: return rclone error instead of canceled context 2022-10-08 20:15:24 +02:00
stdio_conn.go rclone: Better field names for stdio conn 2020-07-26 00:29:25 +02:00