Running an LC app from the command line
MikeKerner at roadrunner.com
Wed Jun 4 19:35:02 EDT 2014
Just to be safe, I always set the loc of the stack offscreen.
On Wed, Jun 4, 2014 at 7:31 PM, Peter Haworth <pete at lcsql.com> wrote:
> I would like to run an existing lc standalone from the command line,
> passing it parameters that will determine what it should do.
> Searched the list archives and found that I can reference $1, $2, etc to
> get the parameters and that works just fine.
> I would also like the app to not display its main stack when it is run with
> parameters. I saw some posts on the list archives that mentioned the -ui
> flag to achieve this but when I tried that, I got an error "exiting on
> signal 10". I'm guessing I can simply hide the mainstack to achieve this
> but wondered if there is any other way to do it.
> The above was all on a Mac but I'll need it to run on Windows as well.
> lcSQL Software <http://www.lcsql.com>
> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
and did a little diving.
And God said, "This is good."
More information about the Use-livecode