Changeset 648 for tea4cups/trunk/tea4cups
- Timestamp:
- 06/18/05 00:03:56 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
tea4cups/trunk/tea4cups
r646 r648 39 39 from struct import unpack 40 40 41 version = " 2.12alpha3_unofficial"41 version = "3.00_unofficial" 42 42 43 43 class TeeError(Exception): … … 777 777 if pid == 0 : 778 778 if self.InputFile is None : 779 f =open(self.dataFile, "rb")779 f = open(self.dataFile, "rb") 780 780 os.dup2(f.fileno(), 0) 781 781 f.close() … … 791 791 status = os.waitpid(pid, 0)[1] 792 792 except OSError, (err, msg) : 793 if err == 4and self.gotSigTerm :793 if (err == 4) and self.gotSigTerm : 794 794 os.kill(pid, signal.SIGTERM) 795 795 killed = 1