From 599ef012942a21845f968a4bf725d46e007dcb4b Mon Sep 17 00:00:00 2001 From: Jeff Quast Date: Mon, 21 Sep 2015 12:18:36 -0700 Subject: Honor 'force=False' when set on p.close() This has no change, both this method and ptyprocess method signatures match 'True' value. --- pexpect/pty_spawn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pexpect') diff --git a/pexpect/pty_spawn.py b/pexpect/pty_spawn.py index 73dec56..540be2b 100644 --- a/pexpect/pty_spawn.py +++ b/pexpect/pty_spawn.py @@ -295,7 +295,7 @@ class spawn(SpawnBase): and SIGINT). ''' self.flush() - self.ptyproc.close() + self.ptyproc.close(force=force) self.isalive() # Update exit status from ptyproc self.child_fd = -1 -- cgit v1.2.1