Dear all, I'm writing a tar, cdrecord, mkisofs front-end using PyGtk starting from eroaster program from sourceforge. I have to create a temporary directory to copy some data (no problem using os.mkdir), but if the directory exist, the program must remove it. During the execution I have the following error:
output=commands.getoutput('rm -rf %s' % self.CDR_multi) File "/usr/lib/python1.5/commands.py", line 42, in getoutput return getstatusoutput(cmd)[1] File "/usr/lib/python1.5/commands.py", line 52, in getstatusoutput text = pipe.read() IOError: [Errno 4] Interrupted system call I have the same error if I use popen2.popen2('rm -rf %s' % self.CDR_multi). Some suggestion? I use RH7.2 with python 1.5. -- \\\ // (0 0) ------------------------ooO-(_)-Ooo------------------------------- #============================#=====================================# | ENRICO MORELLI | email: [EMAIL PROTECTED] | | * * * * | phone: +39 055 4574269 | | University of Florence | fax : +39 055 4574253 | | CERM - via Sacconi, 6 - 50019 Sesto Fiorentino (FI) - ITALY | #============================#=====================================# _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk