From 3321350d7e1d24a8b4cc8987961cbeea20661896 Mon Sep 17 00:00:00 2001 From: Chris Kuehl Date: Tue, 11 Oct 2016 12:24:10 -0700 Subject: [PATCH] tty_test: execvpe => execvp --- tests/tty_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tty_test.py b/tests/tty_test.py index 819b7ab..0c9acc6 100644 --- a/tests/tty_test.py +++ b/tests/tty_test.py @@ -64,7 +64,7 @@ def test_child_gets_controlling_tty_if_we_had_one(): """ pid, sfd = pty.fork() if pid == 0: - os.execvpe('dumb-init', ('dumb-init', 'bash', '-m'), {}) + os.execvp('dumb-init', ('dumb-init', 'bash', '-m')) else: ttyflags(sfd)