Page 1 of 1

Launching external program after completion

Posted: Thu Oct 10, 2019 8:07 pm
by Brodieman
I am using the separate CLI add-on in a script to help automate my life.

I launch the PowerShell script after completion and pass arguments such as path, name, and hash. Using popups these all work and pass the correct info.

While testing the script I'm trying to delete the torrent that just finished (when done it will wait an 2 hours to share). Doing this manually works (qbt torrent delete <hash>). Running the script manually works as well.

However when I run the script via qbittorrent after completion it will not delete it. The script runs, I can pop up the name and hash. Just will not delete it.

Is there a limitation when using launch external that might prevent that?

Re: Launching external program after completion

Posted: Thu Oct 10, 2019 10:11 pm
by Brodieman
Through testing I noticed that the qbt command weas not recognized by just typing qbt, need to be the full path.