add image viewer dialog for write_dump image output, help can open link to manual

This commit is contained in:
Axel Kohlmeyer
2023-07-30 19:23:42 -04:00
parent 1c8b9e9467
commit c95bf2c14b
11 changed files with 373 additions and 25 deletions

View File

@ -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;