[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Windows File Association for lua.exe
- From: Patrick Rapin <toupie300@...>
- Date: Sun, 11 Sep 2011 14:10:09 +0200
I would recommend to use the -i command line option, which enters
interactive mode after executing the script.
That way, you can see the results and you can inquire for a global
variable, for example.
In my LuaDura application, I have also added a "-k" command line
option. When an error is thrown while the switch is on, the window
keeps open until the user must press Return key.
So, in the Windows registry on my PC, .lua is now mapped to the
following command:
"D:\LuaDura\bin\LuaDura.exe" -k -i "%1"