[Mono-dev] Launching A Process Under Mono

Charlie Poole charlie at nunit.com
Wed Nov 19 16:14:38 EST 2008


Hi All,

What's the best practice for launching an executable under
mono? I need to do this both on Windows and Linux. On
Windows, it has to work under MS .NET and under Mono. This
is for NUnit's new feature of launching tests in a separate
process and optionally under a different CLR.

So...
   Windows + .NET ===> Mono test process
   Windows + Mono ===> Mono test process
   Linux + Mono   ===> Mono test process

I can, of course, test for these cases and use different
code. Ideally, where the process creator is already 
under Mono, I should use the same instance of Mono
for the new process - btw, the use case for this is
if somebody wants to run a test under the Mono 1.0
profile from the Gui running under 2.0.

Charlie





More information about the Mono-devel-list mailing list