[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] How to catch an error?




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.