Mercurial > octave
changeset 29593:250cefb729d1
fix thinko in 3bfec185c9e2 (bug #60498)
* src/main.in.cc: Set initial value of fork_and_exec to true if we
have the Qt GUI and we are not using Windows, not the opposite.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 02 May 2021 20:25:38 -0400 |
parents | d11dfe2813fa |
children | 26af8b64a739 |
files | src/main.in.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main.in.cc Fri Apr 30 16:54:24 2021 -0400 +++ b/src/main.in.cc Sun May 02 20:25:38 2021 -0400 @@ -82,9 +82,9 @@ #include "shared-fcns.h" #if defined (HAVE_OCTAVE_QT_GUI) && ! defined (OCTAVE_USE_WINDOWS_API) -static bool fork_and_exec = false; +static bool fork_and_exec = true; #else -static bool fork_and_exec = true; +static bool fork_and_exec = false; #endif // If we fork and exec, we'll need the following signal handling code to