On Thu, 2009-10-01 at 19:45 +0530, Vivek S wrote: > I can spawn ifconfig, but then how do i recognize errors? >
You can tell whether the operation failed or not based on ifconfig's exit status. The problem is that you won't have fine-grained error semantics programatically (it would be unwise to parse the error strings printed to ifconfig's stderr). -Seb _______________________________________________ networking-discuss mailing list [email protected]
