[Mono-list] How to run program with arguments

Maurício Girardi Schappo girardi.s at gmail.com
Sat Jun 25 17:08:20 EDT 2011


actually it was a misuse of my program... that's exactly what you posted...
thanks

On Sat, Jun 25, 2011 at 2:07 PM, Robert Jordan <robertj at gmx.net> wrote:

> On 25.06.2011 18:57, Maurício Girardi Schappo wrote:
> > Hello, Robert!
> >
> > That doesn't pass the arg1, etc to myProgram... At least, it's not
> passing
> > in the cluster where I'm trying to run the program...
>
> Check whether "mono" is a script on these machines, and then
> assure that the line which invokes the real mono executable
> is ending with "$@".
>
> Robert
>
>
> >
> > On Sat, Jun 25, 2011 at 1:55 PM, Robert Jordan<robertj at gmx.net>  wrote:
> >
> >> On 25.06.2011 18:49, Maurício Girardi Schappo wrote:
> >>> I have a program that receives input arguments:
> >>>
> >>> $ myProgram.exe -arg1 -arg2 -arg3
> >>>
> >>> in Windows that works just fine. I want to run that through MONO in
> >> linux.
> >>> How do I do that?
> >>>
> >>> $ mono myProgram.exe
> >>>
> >>> runs the program, but how do I pass the arg1, arg2 and arg3 to
> >>> myProgram.exe using
> >>> MONO?
> >>
> >> mono myProgram.exe -arg1 -arg2 -arg3
> >>
> >> Robert
> >>
> >> _______________________________________________
> >> Mono-list maillist  -  Mono-list at lists.ximian.com
> >> http://lists.ximian.com/mailman/listinfo/mono-list
> >>
> >
> >
> >
> >
> >
> > _______________________________________________
> > Mono-list maillist  -  Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>



-- 
Maurício
"De que serve do labor a sina, se o elaborado ao nada se destina?" (Goethe)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110625/4105f7c3/attachment.html 


More information about the Mono-list mailing list