> 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 wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users