mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
'Run on torrent finished' option in Windows not executing concatenated commands #17156
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#17156
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jay-ramani on GitHub (Sep 5, 2025).
qBittorrent & operating system versions
qBittorrent: 5.1.0 (64-bit)
Operating system: Windows 11 Pro (24H2) 26100.4946
Qt: 6.9.0
Libtorrent: 2.0.11.0
What is the problem?
Under Options -> Downloads -> Ron on torrent finished, only the first of concatenated DOS commands is executed.
Steps to reproduce
For example, if
"command 1" "%F" & "command 2" "%F" & "command 3"(execute the second and subsequent commands regardless of the previous command's exit status)
are passed to this field, only
command 1is executed.My current workaround is to gather these commands in a batch file, but shouldn't executing multiple commands be allowed?
Thanks in advance for the attention. Cheers.
Additional context
No response
Log(s) & preferences file(s)
qBittorrent.ini.txt
@xavier2k6 commented on GitHub (Sep 5, 2025):
Please update to qBittorrent 5.1.2 & verify issue is still present.
https://sourceforge.net/projects/qbittorrent/files/qbittorrent-win32/qbittorrent-5.1.2/
@jay-ramani commented on GitHub (Sep 5, 2025):
Didn't know 5.1.2 was released. Thanks for letting me know. When I check with Help -> Check for updates on v5.1.0, it says no updates available! Another bug?
Anyway, installed 5.1.2 from your Sourceforge link, and the issue still persists.
@xavier2k6 commented on GitHub (Sep 6, 2025):
Not a bug per-se, issues with original web host.
An alternative fix was provided but only came in newer builds.
Thanks for feedback.
@HanabishiRecca commented on GitHub (Sep 6, 2025):
Not a bug, that's simply not supported. Such operators are resolved by command line interpreter, qBittorrent obviously would not reimplement command line scripting capabilities.
So you need to pass your line into
cmd /cor run a batch file.@jay-ramani commented on GitHub (Sep 11, 2025):
Yup, as already mentioned in the original ticket description, I am running the commands in a batch file.
@HanabishiRecca commented on GitHub (Sep 11, 2025):
Sure, but this issue should be closed as not a bug.