Re: problem in executing shell script using java
Posted By:
Stephen_Ostermiller
Posted On:
Monday, September 16, 2002 12:26 PM
If your script has output on standard output or standard error streams, you should get those streams from the process (p) on the java side and read from them. It is possible that a buffer is filling up and your process never completes because of it.
Re: problem in executing shell script using java
Posted By:
Simon_Ablett
Posted On:
Wednesday, September 11, 2002 02:28 AM
Try adding a first line of '#!/bin/sh' to the file 'source.sh' and then simply invoke this file rather than invoking the shell itself. Hope that this works.
Regards.