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

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

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

ruby - Net::HTTP extremely slow responses for HTTPS requests -