]> arthur.barton.de Git - bup.git/commit
Minimize use of preexec_fn
authorRob Browning <rlb@defaultvalue.org>
Sat, 12 Oct 2019 05:41:35 +0000 (00:41 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 13 Oct 2019 17:48:24 +0000 (12:48 -0500)
commit6385aa493eff14c7b59aa964ea5cce6f6c3b79a7
treefec7862071477be53381bdfee3d0f6fd7aaac2bd
parentcbde2881f524cb38148e2c5ff281865f7b788273
Minimize use of preexec_fn

Python suggests avoiding preexec_fn, and in Python 3, changes to the
PATH no longer affect the subprocess invocation, so replace it with an
env setting where we can, and they've also added start_new_session to
provide setsid(), so we'll use that too when possible.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
cmd/server-cmd.py
lib/bup/gc.py
lib/bup/git.py
lib/bup/helpers.py
lib/bup/ssh.py
main.py
t/test-get