hi,
I have the below script which i want to execute from
java :
ksh -x /lopt/Download.sh -C /lopt/Config.sh 2>ShellscriptError.err
when i tried using exec and when i use waitFor the process is hanging and the
thread is a stuck thread. Hence I am trying to use ProcessBuilder. Can anyone please help as to how the syntax should be??? and what are the additional things i should take into consideration so that it doesnt become a stuck thread. All exceptions are handles in the shell script and it exits properly from shell script.
Regards,
Acharya