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

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -