[Mono-devel-list] Capturing Shell Output: System.Diagnostics.Process
Sander Rijken
sr at d-90.nl
Fri Feb 4 03:53:42 EST 2005
On Thu, 3 Feb 2005, [iso-8859-1] Jörg Rosenkranz wrote:
> Hello Sander,
>
> I never had any problems with this on .NET and Mono. Maybe
> this can a problem with large outputs on standard out?
>
> I think MonoDevelop uses threads to monitor the streams to
> get continous output to the user.
I thought about why I used the threads there again. The continues
output is indeed the reason they were used in that case. When you call
ReadToEnd(), it blocks until the program is finished. Most of the time
thats undesirable, especially in the case of MonoDevelop.
> Joerg.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
More information about the Mono-devel-list
mailing list