Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#3571 closed Bug (fixed)

Torrent done script clears important env vars.

Reported by: geirha Owned by: charles
Priority: Normal Milestone: 2.10
Component: libtransmission Version: 2.04
Severity: Normal Keywords: backport-2.0x


torrentCallScript calls a clearenv(3), which clears all environment variables, including the DISPLAY variable. So once torrentCallScript has run, right-clicking a torrent and choosing "Open folder" will no longer work.

Another issue is that PATH also disappears, which could cause the torrent download script to fail with "command not found".

Change History (3)

comment:1 Changed 11 years ago by charles

  • Status changed from new to assigned

comment:2 Changed 11 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in trunk by r11243

comment:3 Changed 11 years ago by charles

backported to 2.0x by r11470

Note: See TracTickets for help on using tickets.