mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-07 00:00:09 +02:00
process: Use join3 instead of two joins
This commit is contained in:
+1
-1
@@ -303,7 +303,7 @@ impl Child {
|
||||
};
|
||||
|
||||
WaitWithOutput {
|
||||
inner: self.join(stdout).join(stderr).map(|((status, stdout), stderr)| {
|
||||
inner: self.join3(stdout, stderr).map(|(status, stdout, stderr)| {
|
||||
Output {
|
||||
status: status,
|
||||
stdout: stdout,
|
||||
|
||||
Reference in New Issue
Block a user