[Mono-list] Weird issue with Process.Start (works with MS .NET)

Anteru newsgroups at catchall.shelter13.net
Thu Nov 12 10:59:21 EST 2009

>>             p.Start();
>> 		// Never comes here ...
>>             p.BeginOutputReadLine();
> I see nothing in your code below that tells the process to run 
> under Mono - i.e. invoking via mono.exe.

Err, the problem is, if the C# code is executed with the Mono Runtime,
the Start() call hangs, while it works with the MS.NET runtime -- I
didn't check whether it makes a difference whether the _target_ process
uses a different runtime.

The problem is that the _host app_ (from which I took the code) behaves
differently with .NET and Mono; with Mono on Linux, it simply hangs at
the p.Start() call :/


More information about the Mono-list mailing list