Re: [Mono-list] System.Diagnostics.Process.StartInfo.Arguments

2009-09-01 Thread Nils Andresen
Hi. I'm new to this list so I'm not sure if I'm wrong here... But calling > export.StartInfo.RedirectStandardOutput = true; > export.WaitForExit(); > export.StandardOutput.ReadToEnd() can lead to a deadlock (at least when using .net framework...). When export.StandardOutput buffer is full the calle

Re: [Mono-list] System.Diagnostics.Process.StartInfo.Arguments

2009-09-01 Thread Fred Patterson
Chris, I was able to fix it. You got me started down the right path. I still couldn't get the argument variable to work with the 1>output.log, however, I was able to work around it. The below code creates a file called output.log in the current path. Thanks again.

Re: [Mono-list] System.Diagnostics.Process.StartInfo.Arguments

2009-09-01 Thread Chris Howie
On Tue, Sep 1, 2009 at 10:52 AM, Pat55 wrote: > I am trying to start a bash script using the Process class. > The arguments is not working. The script run, but I want to be able to > redirect the standard output to a file. > > Here is the code: > > System.Diagnostics.Process export = new System.Dia

[Mono-list] System.Diagnostics.Process.StartInfo.Arguments

2009-09-01 Thread Pat55
I am trying to start a bash script using the Process class. The arguments is not working. The script run, but I want to be able to redirect the standard output to a file. Here is the code: System.Diagnostics.Process export = new System.Diagnostics.Process(); export.EnableRaisingEvents = false