[nycphp-talk] system() call timeout
Tim Gales
tgales at tgaconnect.com
Wed Oct 12 12:15:54 EDT 2005
Jeffrey O. Stevison wrote:
> Is there a way to set a timeout value for a system("ls -l") call? If
> the ls command hangs for at least 5 secs I want to term the call and
> have some return value that indicates the process has termed.
Did you try ' set_time_limit()' ?
--
T. Gales & Associates
'Helping People Connect with Technology'
http://www.tgaconnect.com
More information about the talk
mailing list