Distinguishing CLI from GUI
Richard Gaskin
ambassador at fourthworld.com
Thu Jun 16 09:51:31 EDT 2011
Trevor DeVore wrote:
> On Wed, Jun 15, 2011 at 12:16 PM, Richard Gaskin <ambassador at fourthworld.com
>> wrote:
>
>> @All: Anyone know a way to run facelessly from the command line in Windows
>> and quit after executing without having Windows think it's an error?
>>
>
> Shot in the dark. What if you explicitly an exit code of zero to quit?
>
> quit 0
>
> Does that help at all?
Thanks for that - I'll give it a try.
But I'll admit that I'm now more mystified than before: How did you
discover that you can pass arguments to the quit command? I don't
believe that's documented.
I'm assuming the integer argument is the signal value for the OS, yes?
--
Richard Gaskin
Fourth World
LiveCode training and consulting: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.LiveCodeJournal.com
LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
More information about the use-livecode
mailing list