Page 1 of 1

Quit and IDE

Posted: Tue Jul 20, 2010 7:57 pm
by Srdjan
I've seen it millions of times here on forum but now when I need it I simply can't find it: how to run script only if it is in standalone app?
For example: I have app which reads stdin, do some stuff, write to stdout and quits. Problem is that as soon as I added quit to the handler I am not able to open that project anymore. Revolution IDE quits together with my project :?

Regards

Re: Quit and IDE

Posted: Tue Jul 20, 2010 11:35 pm
by mwieder

Code: Select all

if the environment is not "development" then
    quit
end if

Re: Quit and IDE

Posted: Wed Jul 21, 2010 10:36 am
by Srdjan
Yes!!!

Thank you