Thank you all for response! Ended up with checking platform at runtime.

On Thu, Jun 6, 2013 at 2:08 PM, Sergey Khabibullin <x2b...@gmail.com> wrote:

> Hello, I am trying to start a process in my application.
>
> Process.Start("utility.exe", "my argument list");
>
> As you see the "utility.exe" is in the same directory as the application 
> itself.
> Works fine for Windows and some Linux distros. But in other distros I can't 
> start
>
>  the utility just by "utility.exe", and I forced to use "mono utility.exe". I 
> belive this behaveour
> is because of that in some distros mono binaries registered as executable 
> files, and in others not.
>
> Obviously I can't force all users to use "Proper Linux Distro", and I can't 
> always use "mono" prefix,
>
> or I lose the Windows platform. Is there any solution to this problem?
>
>
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to