[wxlua-users] large cmd output error

2014-04-24 Thread empa...@gmail.com
This code snippets doesn't work for me with cmd output bigger or equal 8180 symbols. proc = wx.wxProcess() proc:Redirect() exec = wx.wxExecute("cmd /c echo "..string.rep("8",8180),true,proc) output = proc:GetInputStream() print(output:Read(100)) I'm trying wxlua 2.8.12.3 (ansi) with lua 5.1 and w

Re: [wxlua-users] large cmd output error

2014-04-28 Thread empa...@gmail.com
> It looks like you're hitting the MS Windows cmd limitation. You are absolutely correct. I've just confused with my tryouts. Initially i've got a problem with this async code: dialog = wx.wxDialog(wx.NULL, wx.wxID_ANY, "",wx.wxDefaultPosition, wx.wxDefaultSize) dialog:Connect(wx.wxEVT_END_PROCES