Re: retrieving data from another process
- From: "Daniel Solaz" <dsolaz sistelcom com>
- To: gtk-list redhat com
- Subject: Re: retrieving data from another process
- Date: Wed, 22 Jul 1998 18:38:54 +0200
Michael Lausch wrote:
>f = popen("cmd 2>&1", "r");
>redirects stdin and stdout.
(I guess you mean stdout and stderr.)
True, but what if you want to do different things with normal output
(e.g. process it) and error messages (e.g. log them)? Now *everything*
comes out of f. I don't know what Mr. Greenwald is trying to do,
though. This might be enough for him.
-Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]