execv()

N

New

How can I uses a pipe to get the output from a execv() and redirect it to a
parent process?
in ansi c if possible

Thank-you
 
J

Joona I Palaste

New said:
How can I uses a pipe to get the output from a execv() and redirect it to a
parent process?
in ansi c if possible

Not possible. execv(), pipes and processes don't exist in ANSI C at all.
Please ask in comp.unix.programmer.
 
S

SM Ryan

# How can I uses a pipe to get the output from a execv() and redirect it to a
# parent process?
# in ansi c if possible

The only ANSI C call to run another program is system(). You can't set up
a pipe with that. There's a similar Posix call pipe() which can do much of
this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top