Page 1 of 1

[pythonw] qBittorrent Not Excuting Extrernal Command Correctly

Posted: 24 Jun 2018, 19:02
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.

Re: qBittorrent Not Excuting Extrernal Command Correctly

Posted: 24 Jun 2018, 19:47
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:\

Re: qBittorrent Not Excuting Extrernal Command Correctly

Posted: 24 Jun 2018, 20:27
by wngcarpenter
It's working! Thanks so much!