File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010### Changed
1111
1212- Use a struct ` Arg ` for arguments to combine flags automatically
13+ - Browser process no longer inherits stdout
1314
1415### Added
1516
Original file line number Diff line number Diff line change @@ -54,6 +54,11 @@ impl Command {
5454 self
5555 }
5656
57+ pub fn stdout < T : Into < Stdio > > ( & mut self , cfg : T ) -> & mut Self {
58+ self . inner . stdout ( cfg) ;
59+ self
60+ }
61+
5762 pub fn stderr < T : Into < Stdio > > ( & mut self , cfg : T ) -> & mut Self {
5863 self . inner . stderr ( cfg) ;
5964 self
Original file line number Diff line number Diff line change @@ -448,7 +448,7 @@ impl BrowserConfig {
448448 if let Some ( ref envs) = self . process_envs {
449449 cmd. envs ( envs) ;
450450 }
451- cmd. stderr ( Stdio :: piped ( ) ) . spawn ( )
451+ cmd. stdout ( Stdio :: null ( ) ) . stderr ( Stdio :: piped ( ) ) . spawn ( )
452452 }
453453}
454454
You can’t perform that action at this time.
0 commit comments