Timeout on exec command
Posted: Tue Nov 25, 2008 6:29 am
does anyone know how I can set a timeout on exec before I call it
I want something like:
Thank y'all!
I want something like:
Code: Select all
exec('biglongcall') // dont mind how long this takes
//set a timeout here
exec('short'); //dont want this to take longer than 10 seconds.