Recommended: Sing it, brah! 5 fabulous songs for developers
JW's Top 5
Hi,
I am a novice Java programmer and am facing some issues. I have some piece of Java code which spawns off a python script. For a while, the script runs just fine but, then stops working all of a sudden. I thought it may be because I was not reading the output stream of the spawned script and hence changed the script to not produce any outputs. But still the script stalled. I am able to run this script externally (in a shell) with no problems for days but inside Java, it hoses up!
Can someone provide an idea for spawning and not being required to read the output stream of the spawned process or a way to spawn a subprocess that runs beyond the JVM that spawned it.
Many Thanks