[ale] How to catch an error?

Stephan Uphoff ups at tree.com
Mon Feb 19 15:26:08 EST 2001



Take a look at wait() and waitpid()
(man 2 wait)

> 
> I want to use execvp to execute a command, i.e. ping.  How do I catch the
> error return of "ping"?
> 
> My mind seems to go blank today.
> 
> Appreciate any comments/suggestions.
> Bao
> 
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
> 


--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list