[Gfoss] Fwd: [Qgis-developer] new plugin: test on windows and security policy

Paolo Cavallini cavallini a faunalia.it
Mer 11 Apr 2012 14:03:20 CEST


Salve.
Un nuovo curioso plugin. Il video e' molto esplicativo.
Se qualcuno puo', faccia i test richiesti.
Saluti, e grazie.

-------- Messaggio originale --------
Oggetto: 	[Qgis-developer] new plugin: test on windows and security policy
Data: 	Wed, 11 Apr 2012 14:02:50 +0200
Mittente: 	Denis Rouzaud <denis.rouzaud at gmail.com>
A: 	qgis-developer <qgis-developer at lists.osgeo.org>



Hi all,

I just uploaded a plugin, "Custom Launcher". It can be used to c ustomize your own
actions to launch your preferred apps or commands within QGIS.
http://plugins.qgis.org/plugins/customlauncher/
(video demo is here http://www.youtube.com/v/B6811zAuXhw&hd=1
<http://www.youtube.com/v/B6811zAuXhw&hd=1> )

Can someone test this on windows (mac?) with a shell command, to see if everything is ok?


Also, when using shell commands, subprocess.Popen is called using shell=True and This
is not recommended in python doc.
However, I consider it is safe in my plugin since the action is saved in the
application settings and NOT in the project settings.
Indeed, there might be safety issues, as you could open someone else's project with a
"rm -rf /" command hidden in an action. But this is not the case.
And if someone takes time to modify something in QGIS, he could do any other hack.
Do you agree on this?


Greetings

Denis


Maggiori informazioni sulla lista Gfoss