IPC between Python & Java processes
<p>I want to spawn a Java process from python script. And then read the stderr stream of the java process from the calling python script. Can this be done using pipes?</p>

<p>I try to spawn the java process from python script using python's win32 api's.
I create the java process having the <strong>write end of pipe</strong> by using the <strong>win32process.CreateProcess()</strong> method.</p>

<p>Then I wait on the java process to <strong>signal</strong> (i.e. finish) using <strong>win32event.WaitForSingleObject()</strong>. Then I try to read through the <strong>read end of pipe</strong> from the python script using <strong>win32file.ReadFile()</strong> method.</p>

<p>But I have no idea how to let the java program to communicate with the python script.
Do i need to use signal handler's in the java code? Kindly give an example...</p>

<p>Thank you,
Parag</p>
