sapling/eden
Chad Austin 7c505e7933 don't swallow sudo's stdout and stderr in eden daemon
Summary:
If you run `eden daemon` on a machine where sudo needs input, sudo's
output would get redirected to edenfs.log and eden daemon would appear
to hang.  Worse, if you pressed ctrl-C, sudo would remain in the
background and continue to swallow keypresses from the tty, appearing
to somewhat break your shell until it gave up.  The fix is to stop
redirecting stdout and stderr from Python and instead have edenfs
redirect itself into the log if given.

Reviewed By: simpkins

Differential Revision: D7223399

fbshipit-source-id: bae17b150b6594a3dd87bb88741c8dcefd1c5213
2018-03-14 12:46:19 -07:00
..
cli don't swallow sudo's stdout and stderr in eden daemon 2018-03-14 12:46:19 -07:00
docs add an overview doc for our threading strategy 2017-12-12 12:51:23 -08:00
fs don't swallow sudo's stdout and stderr in eden daemon 2018-03-14 12:46:19 -07:00
hooks Remove TARGETS files 2018-02-20 19:57:45 -08:00
integration don't swallow sudo's stdout and stderr in eden daemon 2018-03-14 12:46:19 -07:00
py Remove TARGETS files 2018-02-20 19:57:45 -08:00
scripts unmount stale edenfs mounts in eden doctor 2018-01-19 11:06:51 -08:00
third-party Remove TARGETS files 2018-02-20 19:57:45 -08:00
AUTODEPS Set up arc lint to run autodeps automatically for Eden. 2017-11-21 18:23:41 -08:00
DEFS have hg_import_helper.py use the local mercurial code during tests 2018-02-15 22:11:38 -08:00