E
evgchech
Hello Everyone
I am using Java Runtime.exec to create child process (Internet
Explorer for this meter).
The parent process binds to UPD socket before creating the child
process.
The strange phenomenon is when parent process shuts down the socket is
still busy and it is being released only after i shut down the child
process.
The work around i came up with is to add to the parent process
shutdown hook, where it can invoke the destroy method upon the Process
instance returned from exec invocation.
Is there any other solution in (JDK 1.4) where i can cerate a child
process without passing to it parent open handlers.
Thanks in advance
I am using Java Runtime.exec to create child process (Internet
Explorer for this meter).
The parent process binds to UPD socket before creating the child
process.
The strange phenomenon is when parent process shuts down the socket is
still busy and it is being released only after i shut down the child
process.
The work around i came up with is to add to the parent process
shutdown hook, where it can invoke the destroy method upon the Process
instance returned from exec invocation.
Is there any other solution in (JDK 1.4) where i can cerate a child
process without passing to it parent open handlers.
Thanks in advance