core.runner: use setsid to stabilize detached programs
commite58e40ba62dc63b1941dd5e411bc48dc77d6a9ad
authorhut <hut@lavabit.com>
Fri, 10 Aug 2012 08:29:04 +0000 (10 10:29 +0200)
committerhut <hut@lavabit.com>
Thu, 9 Aug 2012 20:39:10 +0000 (9 22:39 +0200)
tree1b14a0c3d201def7efe94d8b94808bbd04d145fa
parent55d8566c11dfa23fd3c12d7d4f32878ac7ecc376
core.runner: use setsid to stabilize detached programs

This fixes the bug that some programs are killed even if they were run
with the "d" flag, if ranger is killed by closing its terminal with the
window manager instead of closed with :quit.
ranger/core/runner.py