in reply to script hangs after executing program
If it is still running, you may be able to get some idea what it is doing by running strace -p <pid of $prog>.
If this generates a continuous stream of output, $prog may be looping trying to access some resource.
If it only generates a few lines of output it may be waiting for some user input.
Both of these suggestions are specific to Linux/UNIX. I am not sure if there are Windows equivalents.
|
|---|