Environment: 3.16 + cocos2dx lua development
In lua layer use print input a super big table object, have showed that Mac console log, card is dead, he finally positioning to code is
- (void) openConsoleWindow
{
.
FileDescriptor int outfd=[[_pipe fileHandleForWriting]].
if (dup2 (outfd, fileno (stderr))!=fileno (stderr) | | dup2 (outfd, fileno (stdout))!=fileno (stdout)) this sentence lead to stuck
.
}
When doing a redirect jammed, Internet information also don't know how to change, see a modification scheme can provide with a great god,