javajava-process-runtime

How to get errors in Python subprocess created by java


I start the python process by java Runtime.getRuntime().exec("python pythonCode.py") method,

I want to get to know about are there are any errors in python programm and what are those,can i do that?


Solution

  • Please try the following suggestion

    hope this will help your question