I have writte a small python script that only copys the file if certen conditions are meet. Its working fine if i use write the parameters in cmd. But i cant get it to work when the torrent finishes, even if the same parameters are passed.
I have written: C:\path\to\script\file.py "f" "n" in qbittorent.
Any tips?
Solution:
I feel so stupid...
path/to/python.exe path/to/script.py parameters.
[Solved] Run a external program python script
[Solved] Run a external program python script
Last edited by firecore on Thu Nov 29, 2012 10:33 pm, edited 1 time in total.
Re: Run a external program python script
I don't know scripting, but perhaps...
C:\path\to\script\file.py "%f" "%n" ?
C:\path\to\script\file.py "%f" "%n" ?
Re: Run a external program python script
I have tried that, it didnt work. Ill to to make some bat file to just output the script to txt for debugging.