Curiously, when executing this script from the QGIS Python console, it runs. So apparently, QGIS has to be the parent process of the launched Python process to work. This makes plugin development ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results