|
From: Paul K <pau...@ya...> - 2015-10-14 15:00:14
|
> 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.
|