MLUG: Re: [MLUG] in C program - how to grab stdout from unix call
Re: [MLUG] in C program - how to grab stdout from unix call
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
the 'dup()' or 'dup2()' (to duplicate or fake stdin, stdout and stderr, 
in your case) and 'system()' or 'exec*()' calls might be somewhat 
helpful...

it's a lot easier in perl 8)

     ryan woodsmall
         EMAIL:PROTECTED


On Wednesday, July 3, 2002, at 01:38 AM, Mike Miller wrote:

> In a C program, is it possible to call a system command like egrep and
> take the stdout from egrep directly into an array without first writing 
> to
> a file?
>
> Mike
>
> --
> To unsubscribe, go to http://mlug.missouri.edu/members/edit.php
>
> Archives are available at http://mlug.missouri.edu/list-archives/
>

--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/