-2

i am working on a gnome shell extension. Shortly i want that if i press a button in my extension, to run a python script just like this. The problem is that this doesnt work for me, it appears an error "Execution of "python /my/path.py" failed: Command not found"

How can i overcome this?

Util.spawnCommandLine() works fine for commands as "touch" or "mkdir", but it doesn't work with "bash" or "sh", because I've made a shell file to overcome python issue, and inside this shell file is python command

vlad
  • 7
  • 4

0 Answers0