From: Z.H. <zo...@ye...> - 2015-10-15 01:52:14
|
The command "cmd /k dir & exit" did not work when I ran it from ZBS. At 2015-10-14 22:59:47,"Paul K" <pau...@ya...> wrote: >> I download wxLua-2.8.12.3-Lua-5.2.2-MSW-Unicode.zip and wrote the following code for testing wxExecute function. But the results of "streamin:Read" function are always empty. >> local cmd = "cmd /k tree d: & exit" >> Output("Running program: " .. cmd .. "\n") > >I used a slightly different command ("cmd /k dir & exit"), but it >worked just fine when I ran it from ZeroBrane Studio. Maybe try with a >different wx.dll library? > >Paul. > >------------------------------------------------------------------------------ >_______________________________________________ >wxlua-users mailing list >wxl...@li... >https://lists.sourceforge.net/lists/listinfo/wxlua-users |