Opened 12 years ago
Closed 12 years ago
#4127 closed Bug (fixed)
Torrent complete script doesn't pass on the environment
Reported by: | geirha | Owned by: | jordan |
---|---|---|---|
Priority: | Normal | Milestone: | 2.30 |
Component: | libtransmission | Version: | 2.22 |
Severity: | Normal | Keywords: | |
Cc: |
Description
The only environment variables available to the script is the TR_* vars set by transmission. This makes it a hell to create scripts that'll actually run when the torrent is completed (since you're missing HOME and PATH and other commonly relied upon environment variables).
I'm attaching a patch that passes transmission's environment to the process, with the TR_* variables appended.
Attachments (1)
Change History (3)
Changed 12 years ago by geirha
comment:1 Changed 12 years ago by jordan
- Milestone changed from None Set to 2.30
- Status changed from new to assigned
comment:2 Changed 12 years ago by jordan
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
r12178 libtransmission/torrent.c: (trunk libT) #4127 "Torrent complete script doesn't pass on the environment" -- fixed with patch from geirha.