On 01/14/2014 11:32 AM, Michael Van Canneyt wrote:
#!/bin/bash while [ 1 ]; do yourprogram youroptions done
I feel this will start multiple parallel copies of the program and not wait until the previous one dies.
Moreover I understand that this loop will never exit. Hence I can't use it an init.d script, but in the calling script need to do something based on "bash ... &" to have the "respawn" script run in parallel.
-Michael _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal