Run external program on torrent completion
Posted: Sat Aug 10, 2019 2:17 am
Hi, I have been trying to get any script to run in this option.
I have tried both python and bash, yet I cannot get the script to run. I have set the scripts to be executable (chmod 755) and I have reduced the scripts to only copy the contents of the download directory, just to ensure it works.
Any script will run from terminal but not from the QBitTorrent option. Am I missing a simple call?
Examples I tried
I have tried everything I can think of from adding quotes to the call, adding the python call at the start before setting location of the script (in bash as well), I could keep going I have gone through it all.
I have even tried it on a windows machine calling batch files, and I can't get it to work there, so any help would be great. I could not find any documentation that talked about this, and a I could not find a thread here with a response/how-to on this.
Thanks in advance.
I have tried both python and bash, yet I cannot get the script to run. I have set the scripts to be executable (chmod 755) and I have reduced the scripts to only copy the contents of the download directory, just to ensure it works.
Any script will run from terminal but not from the QBitTorrent option. Am I missing a simple call?
Examples I tried
Code: Select all
/.../test.py
Code: Select all
python /.../test.py
Code: Select all
python '/.../test.py'
I have even tried it on a windows machine calling batch files, and I can't get it to work there, so any help would be great. I could not find any documentation that talked about this, and a I could not find a thread here with a response/how-to on this.
Thanks in advance.