Solved
Forum Discussion
chiragverma123
9 years agoContributor
This problem is now resolved. Using the following script:
def cmdArray2 = ["python", "C:/Users/Desktop/SOAPProject/test.py"]
def process = new ProcessBuilder(cmdArray2).redirectErrorStream(true).start()
process.inputStream.eachLine {
log.warn(it)
}
process.waitFor()
return process.exitValue()
rupert_anderson
9 years agoValued Contributor
Nice one! :-)