[Mono-osx] Getting Mono to work (simple console.writeline)

Michael Hutchinson m.j.hutchinson at gmail.com
Fri Mar 2 00:05:15 UTC 2012


On 29 February 2012 16:25, flux <janbecker89 at web.de> wrote:
> Hey,
>
> I managed to redirect the output to the mono output-window :)
>
> I'm wondering, however, what the reason for this error message might be?
> Missing user rights (im not running my mac as root)? Missing configuration
> somewhere within my project? Or simply a "bug" on the part of the mono
> developers?
>
> Hm, that'd be interesting to know.
>
> Anyways, glad I got it going this way at least.

It might be an escaping problem or something like that. You can see
the code for the external console here - there is an ominous "//FIXME:
make escaping work properly":
https://github.com/mono/monodevelop/blob/master/main/src/addins/MacPlatform/MacExternalConsoleProcess.cs

If you could build MD from source
(http://monodevelop.com/Developers/Mac_Support/Building_MonoDevelop_on_OS_X)
and modify that class to have it log the exact AppleScript command
it's running that fails, that would be very helpful. Else, please file
a bug at bugzilla.xamarin.com.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Mono-osx mailing list