mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Run External Program: '<path to program>' does not exist warning in Options->Downloads #6447
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#6447
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 @SaintPeter on GitHub (Nov 27, 2017).
qBittorrent version and Operating System
qBittorrent v4.0.1 (32-bit)
Windows 10 Version 10.0.15063 Build 15063 (64-bit)
If on linux, libtorrent and Qt version
Qt: 5.7.1
LibTorrent: 1.1.5.0
Boost: 1.65.1
What is the problem
When setting a program to run after Torrent completion, I am presented with a warning saying that the path to my program or my program name does not exist.
What is the expected behavior
I'd expect a fully qualified path to an executable, or an executable in my system the path to not give me a warning.
Steps to reproduce
I tried three different ways.

First, a fully qualified path to my 7z.exe:
It reports
'"c:' does not exist, which it absolutely does. ;)Then a fully qualified path without the double quotes:

This works somewhat better, but reports a similar error.
Then I added the 7-Zip path to my system path and use the bare .exe:

Similar error message.
Extra info(if any)
Note: The last attempt, with the bare 7z.exe with 7-Zip in my system path does appear to actually WORK, see this image:

It just shouldn't give me a warning.
Or, at least, I assumed it worked. The file I tested it against didn't have a .rar file in it. I'll report back if it continues to work with a torrent that does have a .rar file in it.
Note also that it appears to exhibit the issues reported in #7800 with regards to backslashes/forward slashes. This issue may be related.