Branch: refs/heads/master
Home: https://github.com/synfig/synfig
Commit: 3740966de2709348ad5c0793453e09b0d6ea2a69
https://github.com/synfig/synfig/commit/3740966de2709348ad5c0793453e09b0d6ea2a69
Author: ice0 <[email protected]>
Date: 2022-05-28 (Sat, 28 May 2022)
Changed paths:
M synfig-studio/src/gui/app.cpp
M synfig-studio/src/gui/app.h
Log Message:
-----------
Fixed an issue with plugins not working when there are spaces in the Python
path (Windows) (#2651)
Original issue: https://github.com/synfig/synfig/issues/2596
The problem was the different approach to path handling
between `popen` and `Glib::spawn`.
`popen` requires the binary path to be quoted, while `Glib::spawn`
requires the path to be unquoted (it just fails with an error if the
path contains quotes).
As a result, quoted paths were handled correctly when detecting
the Python version, but didn't work when running plugins, and
vice versa.
Fixed by changing `popen` to `Glib::spawn` so paths are handled
uniformly now.
This should also fix non-working plugins in MSVC builds.
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl