Changeset 2006 for pykota/trunk/bin/cupspykota
- Timestamp:
- 01/06/05 23:52:53 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r1974 r2006 24 24 # 25 25 # $Log$ 26 # Revision 1.82 2005/01/06 22:52:53 jalet 27 # Implemented the dropping of priviledges. Beware, beware... 28 # 26 29 # Revision 1.81 2004/12/07 16:54:02 jalet 27 30 # Now logs as errors differences between computed and precomputed job's sizes … … 613 616 # Here we absolutely WANT to remove any filename from the command line ! 614 617 arguments = [ "Fake this because we are printing a banner" ] + sys.argv[1:6] 618 619 self.regainPriv() 620 615 621 self.logdebug("Starting real backend %s with args %s" % (realbackend, " ".join(['"%s"' % a for a in ([os.environ["DEVICE_URI"]] + arguments[1:])]))) 616 622 subprocess = PyKotaPopen4([realbackend] + arguments[1:], bufsize=0, arg0=os.environ["DEVICE_URI"]) … … 818 824 else : 819 825 retcode = self.removeJob() 826 827 self.dropPriv() 828 820 829 return retcode 821 830