add image viewer dialog for write_dump image output, help can open link to manual
This commit is contained in:
@ -46,7 +46,7 @@ StdCapture::StdCapture() : m_oldStdOut(0), m_capturing(false)
|
||||
if (_pipe(m_pipe, 65536, O_BINARY) == -1) return;
|
||||
#else
|
||||
if (pipe(m_pipe) == -1) return;
|
||||
fcntl(m_pipe[READ], F_SETFL, fcntl(m_pipe[READ], F_GETFL)|O_NONBLOCK);
|
||||
fcntl(m_pipe[READ], F_SETFL, fcntl(m_pipe[READ], F_GETFL) | O_NONBLOCK);
|
||||
#endif
|
||||
m_oldStdOut = dup(fileno(stdout));
|
||||
if (m_oldStdOut == -1) return;
|
||||
|
||||
Reference in New Issue
Block a user