[Mono-osx] Passing command line paramenters to a MonoMac app
Maxi Combina
maxi.combina at passwordbank.com
Mon May 23 19:07:13 EDT 2011
Poking with the scripts, I have seen that actually command line parameters
are not given to main executable. I am not sure ye if this is a bug or a
feature.
Meanwhile, I passed my arguments as environment vars.
2011/5/23 Lee V. Andrus <landrus2 at by-rite.net>
> Note that in an application bundle of a Mono application, the "executable"
> in
> the MacOS folder is usually a shell script and may not pass its arguments
> to
> the Mono EXE file.
>
>
> Steve Lessard wrote:
> >
> > ...
> > 1.
> >
> /Applications/MyMonoMacApplication.app/Contents/MacOS/MyMonoMacApplication arg1
> > arg2 arg3
> > 2. open -a MyMonoMacApplication --args arg1 arg2 arg3
> > ....
> >
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Passing-command-line-paramenters-to-a-MonoMac-app-tp3526144p3545639.html
> Sent from the Mono - OSX mailing list archive at Nabble.com.
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
--
*Maxi Combina*
Cell:+1 408 300 3614
Tel: +1 408 524 1579
440 N. Wolfe Road. Sunnyvale. CA. 94085. USA
<http://www.passwordbank.com/>www.PasswordBank.com<http://www.passwordbank.com/>
This message and its attachments are sent from PasswordBank, Inc. and may
contain information that is
confidential. If you are not the intended recipient, you are prohibited from
printing, copying, forwarding or
saving them. Please delete the message and attachments without printing,
copying, forwarding or saving
them, and notify the sender immediately. Message transmission is not
guaranteed to be secure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110524/9b66aa30/attachment-0001.html
More information about the Mono-osx
mailing list