[Mono-list] Command line parameters with spaces

Robert Jordan robertj at gmx.net
Thu Jan 20 18:51:16 EST 2011


On 21.01.2011 00:39, karolo84 wrote:
>
> Indeed it is:
>
>   cat /opt/novell/mono/bin/mono
> #!/bin/sh
> . /opt/novell/mono/bin/mono-addon-environment.sh
> exec /opt/novell/mono/bin/mono.bin $@

You must double quote $@:

exec /opt/novell/mono/bin/mono.bin "$@"

Robert



More information about the Mono-list mailing list