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 > <[email protected]> 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 > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
