D
depo
hi,
i've got this scenario
I have a java gui that launch external application (a dos script if
running on NT and a shell script if running on HP to launch a tcl
GUI).
To launch these scripts I use Process mechanism and wait using its
waitFor method.
These scripts (with right parameters) can launch a tcl gui in local or
remote (with rsh call) and return when i close tcl gui (so waitFor
returns)
It seems all ok but the strange behaviour is:
java GUI on HPa --> script ---> tcl GUI on HPa OK
java GUI on HPa --> script ---> tcl GUI on HPb OK
java GUI on NTa --> script ---> tcl GUI on NTa OK
but
java GUI on NTa --> script ---> tcl GUI on HPa not OK cause after
some minutes (with tcl gui running) waitFor returns (strange)
If i start the script (launched by java) from command line it doesn't
returns correctly (when tcl Gui on HPa is running)
All valid scenario seems to exclude errors on java code end error in
scripts
Can yu help me?
Thanks
i've got this scenario
I have a java gui that launch external application (a dos script if
running on NT and a shell script if running on HP to launch a tcl
GUI).
To launch these scripts I use Process mechanism and wait using its
waitFor method.
These scripts (with right parameters) can launch a tcl gui in local or
remote (with rsh call) and return when i close tcl gui (so waitFor
returns)
It seems all ok but the strange behaviour is:
java GUI on HPa --> script ---> tcl GUI on HPa OK
java GUI on HPa --> script ---> tcl GUI on HPb OK
java GUI on NTa --> script ---> tcl GUI on NTa OK
but
java GUI on NTa --> script ---> tcl GUI on HPa not OK cause after
some minutes (with tcl gui running) waitFor returns (strange)
If i start the script (launched by java) from command line it doesn't
returns correctly (when tcl Gui on HPa is running)
All valid scenario seems to exclude errors on java code end error in
scripts
Can yu help me?
Thanks