Open jklassen opened 2 years ago
I added a ping localhost -n 5
in the batch file just before the line that executes 7zip and that fixed the file usage conflict. It's weird I need to do this but whatever, its not much of a workaround.
Related to #10206
qBittorrent & operating system versions
qBittorrent: 4.4.1 (x64) Windows 10 (10.0.1xxxx)
What is the problem?
I have a batch file that runs after a download is complete via the "Run external program on torrent completion" but it fails with the following error (Changed the folder/file names):
Here is the batch file
"C:\Program Files\7-Zip\7z.exe" e "%1\*.rar" -o"%1\" >> "%SYSTEMDRIVE%\7z-logs.txt" 2>> %SYSTEMDRIVE%\7z-errors.txt
Here is 7z-logs.txt:
and here is 7z-errors.txt:
Seems to me like there needs to be some kind of delay before this script is run.
MORE CONTEXT: I do not have any automatic file management in qbittorrent enabled.
Steps to reproduce
Running the batch works standalone. Fails when using the run after complete command in QBittorrent
Additional context
No response
Log(s) & preferences file(s)
No response