View Single Post
Old 04-05-2007   #3 (permalink)
Jon Davis


 
 

Re: Wrap command shell in System.Diagnostics.Process


"Chris Dunaway" <dunawayc@gmail.com> wrote in message
news:1175799852.010209.282490@n59g2000hsh.googlegroups.com...
> You are probably hitting a deadlock issue when redirecting out. See
> the docs on the RedirectStandardOutput property for more information:
>
> http://msdn2.microsoft.com/en-us/lib...ardoutput.aspx
>
> Chris


Clearly it is deadlocking, the problem is I don't know how to apply any
workaround to the code I provided in the OP given the samples provided in
the referenced link, which although appears detailed at first glance is
really too brief to be useful.

Perhaps someone has the time and patience to make my two samples work?

Jon


My System SpecsSystem Spec