Commit 9e82ace4 authored by gaaned92's avatar gaaned92 Committed by Michael Natterer

Issue #2716 - Windows: Rawtherapee plugin cannot be installed

On Windows, prevent RawTherapee from opening a console window
parent be0d41e1
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment