File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -467,7 +467,8 @@ static int Main(string[] args)
467467
468468 process . Start ( ) ;
469469 process . WaitForExit ( ) ;
470- return process . ExitCode ;
470+ if ( process . ExitCode != 0 )
471+ Environment . Exit ( process . ExitCode ) ;
471472 }
472473 else
473474 {
@@ -515,7 +516,8 @@ static int Main(string[] args)
515516
516517 process . Start ( ) ;
517518 process . WaitForExit ( ) ;
518- return process . ExitCode ;
519+ if ( process . ExitCode != 0 )
520+ Environment . Exit ( process . ExitCode ) ;
519521 }
520522 }
521523
Original file line number Diff line number Diff line change 22 "profiles" : {
33 "Cljr" : {
44 "commandName" : " Project" ,
5- "commandLineArgs" : " -T:deps tree"
5+ "commandLineArgs" : " -X:test" ,
6+ "workingDirectory" : " C:\\ work\\ temp\\ testretcode"
67 }
78 }
89}
Original file line number Diff line number Diff line change 1- clojure.main @args
1+ clojure.main @args ; exit $LASTEXITCODE
You can’t perform that action at this time.
0 commit comments