I have a python script running on Debian sarge. It loops and walk through a directory
while 1: for dirn in os.listdir(buildpath): if os.path.exists(os.path.join(buildpath, dirn, 'pass')) and dirn.find(build1) != -1: # case 1 Do something elif os.path.exists(os.path.join(buildpath, dirn, 'pass')) and dirn.find(build2) != -1: # case 2 Do something The script in turn calls a perl script to do something. The problem is that the python script is getting terminated while the perl script is running and thus the program called by the perl script is hung. ps aux|grep T root 1123 0.0 0.0 4116 20 pts/0 T Dec18 0:00 python root 1124 0.0 0.0 4112 20 pts/0 T Dec18 0:00 python Regards, Aditya
-- http://mail.python.org/mailman/listinfo/python-list