Skip to content
Snippets Groups Projects
Commit 5f3a7f7e authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(spawn.close): Extend the close method instead of overriding it.

parent 95229ad0
No related branches found
No related tags found
Loading
......@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment