Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Leverz

Pages: [1]
1
Linux / Run external program on torrent completion
« on: August 10, 2019, 04:17:34 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
Code: [Select]
/.../test.py
Code: [Select]
python /.../test.py
Code: [Select]
python '/.../test.py'
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.

Pages: [1]