import subprocess
import os
prefix = os.path.expanduser("~/.bin/kb/")
p = subprocess.Popen([(prefix + "koreball"),(prefix + "/data"),'3'])
Your can try with the Runtime.exec
method.
Runtime runtime = Runtime.getRuntime();
Process process = runtime.exec("myprocess");
The method returns a Process
that can be used to:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With