[Mono-list] How to start a process? (Crossplatform)
Sergey Khabibullin
x2bool at gmail.com
Thu Jun 6 10:08:59 UTC 2013
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20130606/4ddb9258/attachment.html>
More information about the Mono-list
mailing list