[Mono-list] Capturing output from Linux Command Line programs

mono-list.1.tracyanne at spamgourmet.com mono-list.1.tracyanne at spamgourmet.com
Tue Aug 16 05:43:35 EDT 2005


> Hi,
> 
> > Yes you can, and this has nothing to do with what I am trying to do.
> > Please read my original post. My problem has absolutely nothing to do
> > with capuring output from MY program.
> > 
> > I'm trying to capture output from existing linux Command Line program
> > like wget, mkisofs and others, so I can use that output in a GUI application.
> 
> The method described should work for *any* command line application -
> try it. You may be surprised.
> 
> TTFN
> 
> Paul


I doubt it, I use that method quite a bit. It however does not answer
my need. It also does not explain why System.Diagnostics.Process does
not seem to function as expected, and it does not give me a real time
feed of the output from a Linux command line program, like wget to my
GUI application.

So I'm am not in the least interested in reading about one can redirect
stdout using the redirect ">" on the command line works. You can do
that until the cows come home, and it still won't solve my problem.

Anyone want to tell me how I can interact with a command line program
like say cdrecord in the same way that X-CD-Roast does, but using Mono
and C#.

regards

Tracy Barlow



More information about the Mono-list mailing list