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 wxlua 2.8.12.3 (unicode)
with lua 5.2
operating system: WIndows 7 x64.

Why this happens?
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to