Hello,
> I've scoured System.Reflection, but I'm probably in the wrong place.
> Is there any way to get the path where mono is running from during
> runtime? Would I need to use environment variables, or is there a
> dynamic way to find that out in my csharp code?
A Linux-only way of doing that would be to look at
/proc/self/exe
Which is a symbolic link to the actual executable; You can read the
symlink using Mono.Posix.Native.readlink
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list