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

Jonathan Gilbert 2a5gjx302 at sneakemail.com
Mon Jun 4 20:37:35 EDT 2007

At 08:06 PM 6/4/2007 +0100, Leszek Ciesielski wrote:
>There was some discussion of how this should work here:
>I am still thinking that invoking through
>(http://msdn2.microsoft.com/en-us/library/6d3hh0kx.aspx) would be the
>best way performance-wise... Although this is just my 2c, I did not
>test this.

This small increase in performance is definitely not worth the serious
breaking difference in behaviour. When AppDomain.ExecuteAssemblyByName is
used, the child "process" is actually within the same process as the
caller. How would the object returned by Process.Start represent this? What
if you wanted to kill off the child process after a certain timeout?
Process.Kill would terminate the parent as well!

Jonathan Gilbert

More information about the Mono-devel-list mailing list