[Mono-list] How to run program with arguments

Robert Jordan robertj at gmx.net
Sat Jun 25 13:07:07 EDT 2011


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




More information about the Mono-list mailing list