"Aaron M. Ucko" wrote:
> 
> As man popen would tell you:
> 
>        The pclose function waits for the  associated  process  to
>        terminate  and  returns  the exit status of the command as
>        returned by wait4.
> 
> --
> Aaron M. Ucko, KB1CJC <[EMAIL PROTECTED]> (finger [EMAIL PROTECTED])

Thanks, but this offers me little help with what I am actually trying
to do. Nonetheless it did get me looking at the whole problem and I
decided that using "popen()" is not the best way to start the desired
process. Thus I am going to recode that part of the application using
pipes redirection of file descriptors, forking and replacing the child
with the desired process, reading it's output from stdout which will
be redirected into a pipe. All in all this will give me better control
of the whole thing, it will improve reliability and enable better
control over passing data and signals between the 2 processes and
eliminate some potential known bugs that are often  associated with
"popen()".

Anyway's thanks for the help.

John <[EMAIL PROTECTED]>



-- 
email: [EMAIL PROTECTED]
Local mailserver <landreau.ruffe.edu> , remote <ns.computer.net>
--------
Linx:
http://www.computer.net/
http://einval.vol.8m.com/

Great moments come to every man... And so do miserable moments too...
begin:vcard 
n:Holotko;John
x-mozilla-html:FALSE
org:MicroService Co.
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Programmer
note:Phone: (914)-779-3966
x-mozilla-cpt:;5088
fn:John Holotko
end:vcard

Reply via email to