anyone know how to run a ".wlua" from sublime?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

anyone know how to run a ".wlua" from sublime?

sssa2000

i config the sublime's build system,
it is ok for common lua file.

but when i build a wlua file in sublime,which uses the iup 
sublime will keep building until i cancel it.








Reply | Threaded
Open this post in threaded view
|

Re: anyone know how to run a ".wlua" from sublime?

steve donovan
On Wed, Apr 10, 2013 at 9:08 PM, sssa2000 <[hidden email]> wrote:
but when i build a wlua file in sublime,which uses the iup
sublime will keep building until i cancel it.

 You need to use wlua.exe for .wlua files.  This executable is for Windows GUI Lua scripts (same for wxLua scripts)

Reply | Threaded
Open this post in threaded view
|

Re:Re: anyone know how to run a ".wlua" from sublime?

sssa2000


yes,i config the Lua.sublime-build:
"cmd": ["C:/Program Files/Lua/5.1/wlua.exe", "$file"],






在2013年04月11 15时21分,"steve donovan"<[hidden email]>写道:

On Wed, Apr 10, 2013 at 9:08 PM, sssa2000 <[hidden email]> wrote:
but when i build a wlua file in sublime,which uses the iup
sublime will keep building until i cancel it.

 You need to use wlua.exe for .wlua files.  This executable is for Windows GUI Lua scripts (same for wxLua scripts)



Reply | Threaded
Open this post in threaded view
|

Re:Re:Re: anyone know how to run a ".wlua" from sublime?

sssa2000
i find the point,
sublime default supressed the gui,
must write :
“shell”: “true”, 

then, it works,thanks






在2013年04月11 15时37分,"sssa2000"<[hidden email]>写道:



yes,i config the Lua.sublime-build:
"cmd": ["C:/Program Files/Lua/5.1/wlua.exe", "$file"],






在2013年04月11 15时21分,"steve donovan"<[hidden email]>写道:

On Wed, Apr 10, 2013 at 9:08 PM, sssa2000 <[hidden email]> wrote:
but when i build a wlua file in sublime,which uses the iup
sublime will keep building until i cancel it.

 You need to use wlua.exe for .wlua files.  This executable is for Windows GUI Lua scripts (same for wxLua scripts)