diff --git a/pcl_expect/spawn.py b/pcl_expect/spawn.py index a02702c20dd982c51708fceda3f319f1ba93ed24..7a61475aa5fd2a96bc00b29155f6a0d910a30909 100644 --- a/pcl_expect/spawn.py +++ b/pcl_expect/spawn.py @@ -62,6 +62,7 @@ class spawn(pcl_expect.expectable): os.write(self.__pty, s) def close(self): + pcl_expect.expectable.close(self) os.close(self.__pty) return os.waitpid(self.__child, 0)