mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Run external program on torrent completion is not working #13885
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#13885
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 @itsboo07 on GitHub (Oct 5, 2022).
qBittorrent & operating system versions
qBittorrent: 4.4.5 x64
Operating system: Windows 11 pro (10.0.22xxx)
What is the problem?
I created a bash script which send notification to telegram bot. if i run it with git bash it works. but in qbittorrent on download compete its not running the script.. is this something to do with windows? is their any fix?
Steps to reproduce
i need to run that scipt when download completes
Additional context
Log(s) & preferences file(s)
(N) 2022-10-06T01:40:05 - Torrent: YouTube Video Downloader PRO FINAL v4.9.0.3 [TechTools.NET], running external program, command: C:\Program Files\qBittorrent\bot.sh
(N) 2022-10-06T01:42:34 - Options saved.
even though logs says it running external program command not sure why its not getting executed.
@glassez commented on GitHub (Oct 6, 2022):
It's Bash script. It should be run using Bash.
@itsboo07 commented on GitHub (Oct 8, 2022):
Im able to run the bash file using git bash and it works good
but it is not runnning from qbitorrent .. is it possible to create a script to send telegram in windows?
@glassez commented on GitHub (Oct 8, 2022):
So what's the problem? Just run it using bash, i.e.
bash.exe your_script.sh arg1 arg2.@itsboo07 commented on GitHub (Dec 26, 2022):
thanks for responding. not sure why this doesn't work for me in windows . created batch script and now it works. looks like i need WSL to run bash from windows.
@luzpaz commented on GitHub (Jun 11, 2023):
Related to #18457