[Mono-devel-list] Determine the name and/or kind of CLI runtime environment
kornelpal at hotmail.com
Wed Jun 1 11:44:43 EDT 2005
> From: Jonathan Gilbert
> Mono would automatically reuse itself when using Process.Start to invoke
> other .NET binaries. I seriously can't think of many cases where you'd
> to force the use of a *different* runtime. =/
I just want to execute the same mono binary to get the version of the
runtime in use because Mono has no built in functionality to retrieve the
version number of the runtime.
I want to execute "mono --version" regardless of the operating system to
obtain the version number. For more details pleas look at the code at the
end of my message you have answered.
So the question is how can I ensure to use the same mono binary as executing
the managed code when I execute "mono --version" (from managed code running
on Mono using Process.Start())?
More information about the Mono-devel-list