[Mono-dev] PATCH: Make Process.Start() use the same 'mono' runtime

Robert Jordan robertj at gmx.net
Mon Jun 4 16:57:48 EDT 2007


Hey,

Miguel de Icaza wrote:
>> You can replace this func with something like that:
> 
> The problem is that this code lives in io-layer.c and Dick pointed out
> that it might be best to not depend on metadata code.

Oh, now I see that the patch is actually changing WAPI's CreateProcess.

This means that it won't work on Windows, where the native
native CreateProcess is called instead.

I think it's better to implement this in System.Diagnostics.Process
using an icall that exposes argv[0].

Robert




More information about the Mono-devel-list mailing list