From 712f3c38ac88e86c4f66cc9ac1380e17e4604237 Mon Sep 17 00:00:00 2001 From: Patrick Storz Date: Tue, 26 Feb 2019 21:44:46 +0100 Subject: Extensions: Use wperl as default perl interpreter on Windows This is the "GUI" version of the executable that does not have a console attached to itself and therefore doesn't flash a terminal whenever it's called by an extension. Functionality should be identical otherwise. Fixed issues: - https://gitlab.com/inkscape/inkscape/issues/66 --- src/extension/implementation/script.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/extension/implementation/script.cpp') diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp index 4bbd9b077..3db442c25 100644 --- a/src/extension/implementation/script.cpp +++ b/src/extension/implementation/script.cpp @@ -86,10 +86,11 @@ void Script::pump_events () { the given interpreter to a custom one per user. */ Script::interpreter_t const Script::interpreterTab[] = { - {"perl", "perl-interpreter", "perl" }, #ifdef _WIN32 + {"perl", "perl-interpreter", "wperl" }, {"python", "python-interpreter", "pythonw" }, #else + {"perl", "perl-interpreter", "perl" }, {"python", "python-interpreter", "python" }, #endif {"ruby", "ruby-interpreter", "ruby" }, -- cgit v1.2.3