tty_test: execvpe => execvp
This commit is contained in:
parent
e5d51c2870
commit
3321350d7e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue