Shell argv
JB
sundown at pacifier.com
Mon May 8 12:21:29 EDT 2017
Thanks Bob.
I did that before I sent the message and searched
a lot on the web. It looks to me like I am entering
everything properly. I will not that the file takes a
full path and I did not show a full path but I always
used a full path. Maybe I will try compiling with
gcc sometime to see if that works.
JB
> On May 8, 2017, at 8:32 AM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> 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
>
> _______________________________________________
> 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