I want to call my python script runner.py
from Scala program, I doing it like this:
runner.py:
print("testing")
`program.scala:
val res = "python3 runner.py" !
The problem is that this only return 0
, but not the printed output. How can I get that in Scala?