>Is there a Unix or shell command that runs a given program for n
>seconds and then terminates it (unless the program takes less than n
>seconds to run, obviously)?

  some-command& sleep 42; kill -9 $!

R's,
John
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to