Opened 11 years ago
Closed 11 years ago
#4681 closed Bug (invalid)
environment variables can't be recognized
Reported by: | ericalism | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | None Set |
Component: | Transmission | Version: | 2.42 |
Severity: | Normal | Keywords: | |
Cc: |
Description
It's very strage that the environment variables can't be recognized if I use them like this: "script-torrent-done-filename": "/path/to/xxx.sh $TR_TORRENT_DIR/$TR_TORRENT_NAME" and there is nothing wrong with that when I'm using version 2.13, is that a bug of 2.42?
Change History (1)
comment:1 Changed 11 years ago by jordan
- Resolution set to invalid
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
The value of "script-torrent-done-filename" is passed directly to execvp() so it needs to be in a form that's understandable by execvp().
The environment change you're seeing between 2.13 and 2.42 may be a side-effect of #4127.
I'm tentatively closing this as notabug.