Issue #2716 - Windows: Rawtherapee plugin cannot be installed

On Windows, prevent RawTherapee from opening a console window
This commit is contained in:
gaaned92 2018-12-29 22:56:27 +01:00 committed by Michael Natterer
parent be0d41e1ad
commit 9e82ace409
1 changed files with 5 additions and 0 deletions

View File

@ -97,7 +97,12 @@ init (void)
"com.rawtherapee.rawtherapee",
REGISTRY_KEY_BASE,
&search_path);
#ifdef G_OS_WIN32
/* Issue #2716 - Prevent RT from opening a console window */
gchar *argv[] = { exec_path, "-v", "-w", NULL };
#else
gchar *argv[] = { exec_path, "-v", NULL };
#endif
gchar *rawtherapee_stdout = NULL;
gboolean have_rawtherapee = FALSE;
gint i;