[EMAIL PROTECTED] wrote:

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

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

What's wrong with firing off a System.Diagnostics.Process that executes it, and reading the output from the "StandardOutput" stream on the process? You say that Process "does not seem to function as expected"; howso?

Regards,
-= El =-
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to