[pythonw] qBittorrent Not Excuting Extrernal Command Correctly

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
wngcarpenter
Posts: 2
Joined: 22 Jun 2018, 00:51

[pythonw] qBittorrent Not Excuting Extrernal Command Correctly

Post by wngcarpenter »

I cannot for the life of me figure out why qBittorent won't correctly execute the external command.
https://snag.gy/mufFGs.jpg
-Here is my system information. I'm running qBittorent 4.1.1
https://pastebin.com/0VD65dBZ
-qBittorent Logs
https://pastebin.com/iTi7gSek
-utorrent-postprocess.pyw
https://pastebin.com/aTegiDm5
-External command for qBittorent
https://pastebin.com/umsJdR1C
-Here is a cmd line amc that I can run and it works just fine.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: qBittorrent Not Excuting Extrernal Command Correctly

Post by rednoah »

Using pythonw means that you won't get console output, which means that you will never find out why it's not working.

1.
Use python and not pythonw if you want to see the python output.

2.
Use subprocess.run(command) instead of subprocess.run(command, creationflags=0x08000000) inside the python script if you want to see the filebot output.


EDIT:

:idea: Also, SYNTAX ERROR

YES

Code: Select all

output = 'D:'
NO

Code: Select all

output = D:\
:idea: Please read the FAQ and How to Request Help.
wngcarpenter
Posts: 2
Joined: 22 Jun 2018, 00:51

Re: qBittorrent Not Excuting Extrernal Command Correctly

Post by wngcarpenter »

It's working! Thanks so much!
Post Reply