[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: obtaining process exit code from popen()
- From: Patrick Donnelly <batrick@...>
- Date: Sat, 6 Jun 2009 02:07:40 -0600
Hi Asko,
On Sat, Jun 6, 2009 at 1:50 AM, Asko Kauppi<askok@dnainternet.net> wrote:
>
> I remember having done this years back, by appending "&& echo <returncode>"
> to the command itself (and being able to read the output).
I believe you meant: "|| echo $?"
--
-Patrick Donnelly
"Let all men know thee, but no man know thee thoroughly: Men freely
ford that see the shallows."
- Benjamin Franklin