Shell argv

JB sundown at pacifier.com
Sat May 6 21:46:57 EDT 2017


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







More information about the use-livecode mailing list