Shell argv
Bob Sneidar
bobsneidar at iotecdigital.com
Mon May 8 11:32:48 EDT 2017
try man open in the terminal. That should tell you what the arguments to the open command are.
Bob S
> On May 6, 2017, at 18:46 , JB via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> To use a shell command it needs to work from
> the terminal. I am using OS X 10.11.6 and if
> I try to open a Xcode c build named my_file I
> type in the terminal,
>
> open my_file
>
> and the file my_file will open.
>
> I want to pass arguments to argv but the never
> get passed. I have tried the following;
>
> open my_file —args arg1
>
> The argument never gets passed. Does anyone
> know how to pass arguments to argv from the
> terminal when open a file so I can use the script
> from a shell command?
>
> JB
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list