NYCPHP Meetup

NYPHP.org

[nycphp-talk] system() call timeout

Jeffrey O. Stevison jeff at geeksociety.com
Wed Oct 12 11:42:22 EDT 2005


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.

Jeff





More information about the talk mailing list