How to run external process in Scala and get both exit code and output? -


how call external process , read both of exit code , standard out, once finished?

using sys.process result in exception being thrown on different exit code 0 success.

have looked @ process.exitvalue?

returns exit value subprocess.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -