Bug 17820 - Process.Start on managed exe only works when mono is in PATH
Summary: Process.Start on managed exe only works when mono is in PATH
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: io-layer ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
: 17831 18368 ()
Depends on:
Blocks:
 
Reported: 2014-02-17 12:25 UTC by Mikayla Hutchinson [MSFT]
Modified: 2014-03-19 02:48 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Mikayla Hutchinson [MSFT] 2014-02-17 12:25:58 UTC
Process.Start on a managed exe only works when mono is in PATH, because the runtime tries to run the exe using "mono". It should instead compute an absolute path the Mono runtime and use that.

May be tricky to make it work with the case where Mono is used as a shared library.
Comment 1 Mikayla Hutchinson [MSFT] 2014-02-25 19:51:27 UTC
*** Bug 17831 has been marked as a duplicate of this bug. ***
Comment 2 Zoltan Varga 2014-03-04 22:07:01 UTC
Fixed for osx in 243899a5bd75ca79808e706f1e6d1dce96f159fc.
Comment 3 Zoltan Varga 2014-03-05 16:47:07 UTC
Implemented support for linux and hopefully other platforms as well.
Comment 4 Marek Safar 2014-03-17 04:17:05 UTC
*** Bug 18368 has been marked as a duplicate of this bug. ***
Comment 5 Mikayla Hutchinson [MSFT] 2014-03-19 02:48:35 UTC
*** Bug 18368 has been marked as a duplicate of this bug. ***