X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a1d70f92523bb1aae591b95a5c0bd43a5e6d05b..cbbb1f548962b30c43849e29fd64eceb4d8720e8:/src/unix/utilsunx.cpp diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index 455db74030..ec550fcf24 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -728,7 +728,9 @@ long wxExecute(char **argv, int flags, wxProcess *process, // it might not be the best idea. wxLogSysError(_("Failed to set up non-blocking pipe, " "the program might hang.")); +#if wxUSE_LOG wxLog::FlushActive(); +#endif } wxOutputStream *inStream =