realbasic-nug
[Top] [All Lists]

Update RE: Terminal command line options OSX

To: "'REALbasic NUG'" <realbasic-nug at lists dot realsoftware dot com>
Subject: Update RE: Terminal command line options OSX
From: "Stephen Koger" <steve dot koger at m-a-c-s dot com>
Date: Tue, 31 May 2005 15:40:23 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Thread-index: AcVl/Yc9B9vvJggaSkukGBoJDor/uQAIskEw
Great Thanks!

Okay I had to build it as a Mach-O app then create a script called
myappscript to execute the app like the following:

/applications/myapp.app/Contents/MacOS/myapp $1

Then I could type at the command like 

./myappscript HelloWorld!

And System.Commandline would be populated with
"/applications/myapp.app/Contents/MacOS/myapp HelloWorld!"

Thanks for your help!

Stephen
MACS


-----Original Message-----
From: realbasic-nug-bounces at lists dot realsoftware dot com
[mailto:realbasic-nug-bounces at lists dot realsoftware dot com] On Behalf Of 
dda
Sent: Tuesday, May 31, 2005 11:26 AM
To: REALbasic NUG
Subject: Re: Terminal command line options OSX

System.CommandLine, if memory serves.

-- 
dda 
http://sungnyemun.org/

RBDeveloper Columnist, "Beyond the Limits"
http://rbdeveloper.com


On 5/31/05, Stephen Koger <steve dot koger at m-a-c-s dot com> wrote:
> 
> Is there anyway to pass command line options to a program when calling It
> from a shell call in OSX?  This is not a console app btw...
> 
> I am calling it with a 'open myapp.app'  right now.   I would like to be
> able to pass a parameter from another app to it when It is called.
> 
> Anybody have any hints?
> 
> Thanks
> Stephen
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>