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