tty_test: execvpe => execvp

This commit is contained in:
Chris Kuehl 2016-10-11 12:24:10 -07:00
parent e5d51c2870
commit 3321350d7e

View file

@ -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)