If you remove "sudo" what exception do you get?
Angus Ferguson wrote:When debugging it doesn't launch exception in fact I think that it doesn't execute the Python script...
Did you recompile after removing "sudo"?
Is your script executable? Do you have a shebang in your Python file?
Try using the full path to the script in the argument to exec.
Angus Ferguson wrote:
Also, make sure to print BOTH output streams. I think you are only printing out the contents of the error stream.
It is also curious that when I remove "python" in the exec method it doesnt find the .py file.
You need to add a slash before "org" to make it absolute.
There is no beard big enough to make me comfortable enough with my masculinity to wear pink. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton