File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ fn process_server_reader(reader: impl std::io::Read,
8787pub fn run_app_forever ( client_reader : impl std:: io:: Read + Send + ' static ,
8888 client_writer : impl std:: io:: Write + Send + ' static ,
8989 mut server_cmd : std:: process:: Command ) -> Result < ( ) > {
90+ info ! ( "Running server {:?}" , server_cmd) ;
9091 let proc = server_cmd
9192 . stdin ( std:: process:: Stdio :: piped ( ) )
9293 . stdout ( std:: process:: Stdio :: piped ( ) )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ fn main() -> Result<()> {
2222 } ) ) ;
2323
2424 let mut cmd = std:: process:: Command :: new ( & args[ 1 ] ) ;
25- cmd. args ( & args[ 1 ..] ) ;
25+ cmd. args ( & args[ 2 ..] ) ;
2626
2727 app:: run_app_forever ( std:: io:: stdin ( ) , std:: io:: stdout ( ) , cmd)
2828}
You can’t perform that action at this time.
0 commit comments