Re: Re: Solved (was: Exit-Code von Shellbefehl in C auswerten)

Jens Nixdorf <[email protected]>
Newsgroups gmane.linux.suse.programming
Organization .
Message-ID <[email protected]>
Am Donnerstag, 13. März 2008 schrieb Bernhard Walle:
>
> Du solltest aber trotzdem WEXITSTATUS() auf den Rückgabewert anwenden.

Mache ich. Hat ein wenig gedauert, bis ich verstanden habe, dass in 
system nur mehr oder weniger "Erfolg" oder "Misserfolg" drinsteht und in 
WEXITSTATUS der "wirkliche" Rückgabewert, aber irgendwann klappts sogar 
bei mir ;)

mfG, Jens
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.