summaryrefslogtreecommitdiffstats
path: root/src/extension/implementation
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-02-26 20:44:46 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-02-26 20:44:46 +0000
commit712f3c38ac88e86c4f66cc9ac1380e17e4604237 (patch)
treef3cfa6b72a3795616a378f686fd8465e5c41477e /src/extension/implementation
parentMake align handle thicker like traditional handles (diff)
downloadinkscape-712f3c38ac88e86c4f66cc9ac1380e17e4604237.tar.gz
inkscape-712f3c38ac88e86c4f66cc9ac1380e17e4604237.zip
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
Diffstat (limited to 'src/extension/implementation')
-rw-r--r--src/extension/implementation/script.cpp3
1 files changed, 2 insertions, 1 deletions
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" },