How do I wait for a specific process to die? I want to do something like:

waitpid 1234&&(echo "done!" | Mail -s "PROC DONE" kelly.terry.jo...@gmail.com)

if i understand you correctly:

your_program parameters &
bg_process_number=$!

...something else...

wait $bg_process_number
echo "done!"



_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to