This sends the given signal to the child application. In keeping with UNIX tradition it has a misleading name. It does not necessarily kill the child unless you send the right signal.
(self, sig)
| 713 | return alive |
| 714 | |
| 715 | def kill(self, sig): |
| 716 | |
| 717 | '''This sends the given signal to the child application. In keeping |
| 718 | with UNIX tradition it has a misleading name. It does not necessarily |
| 719 | kill the child unless you send the right signal. ''' |
| 720 | |
| 721 | # Same as os.kill, but the pid is given for you. |
| 722 | if self.isalive(): |
| 723 | os.kill(self.pid, sig) |
| 724 | |
| 725 | def getwinsize(self): |
| 726 | '''This returns the terminal window size of the child tty. The return |