[wxlua-users] wxExecuted process is not deleted when main window exits

2017-05-19 Thread Z.H.
Hi all, I am using wxLua 2.8.12 for Windows. In the following code, I try to asynchronously execute some command and redirect its output. The problem is, if I close main window before child process terminates, the child process is not deleted. I could still see "tree.com" process inside Windows

[wxlua-users] Could not read redirected output for some commands

2015-10-14 Thread Z.H.
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. I have tried the exec example contained in wxWidgets' source code. And I could see the redirected output with this