File tree 1 file changed +6
-6
lines changed 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,8 @@ impl RedisServer {
112
112
) -> RedisServer {
113
113
let mut redis_cmd = process:: Command :: new ( "redis-server" ) ;
114
114
redis_cmd
115
- . stdout ( process:: Stdio :: inherit ( ) )
116
- . stderr ( process:: Stdio :: inherit ( ) ) ;
115
+ . stdout ( process:: Stdio :: null ( ) )
116
+ . stderr ( process:: Stdio :: null ( ) ) ;
117
117
let tempdir = tempdir:: TempDir :: new ( "redis" ) . expect ( "failed to create tempdir" ) ;
118
118
match addr {
119
119
redis:: ConnectionAddr :: Tcp ( ref bind, server_port) => {
@@ -152,8 +152,8 @@ impl RedisServer {
152
152
. arg ( & tls_cert_path)
153
153
. arg ( "-subj" )
154
154
. arg ( "/C=XX/ST=crates/L=redis-rs/O=testing/CN=localhost" )
155
- . stdout ( process:: Stdio :: inherit ( ) )
156
- . stderr ( process:: Stdio :: inherit ( ) )
155
+ . stdout ( process:: Stdio :: null ( ) )
156
+ . stderr ( process:: Stdio :: null ( ) )
157
157
. spawn ( )
158
158
. expect ( "failed to spawn openssl" )
159
159
. wait ( )
@@ -194,8 +194,8 @@ impl RedisServer {
194
194
} ;
195
195
let mut stunnel_cmd = process:: Command :: new ( "stunnel" ) ;
196
196
stunnel_cmd
197
- . stdout ( process:: Stdio :: inherit ( ) )
198
- . stderr ( process:: Stdio :: inherit ( ) )
197
+ . stdout ( process:: Stdio :: null ( ) )
198
+ . stderr ( process:: Stdio :: null ( ) )
199
199
. arg ( & stunnel_config_path) ;
200
200
201
201
RedisServer {
You can’t perform that action at this time.
0 commit comments