Searched refs:exit_file (Results 1 – 1 of 1) sorted by relevance
39 exit_file = open(os.path.join(logdir, 'exit_code'), 'w', 0) variable40 fcntl.flock(exit_file, fcntl.LOCK_EX)47 exit_file.write('%+04d' % exit_code)48 exit_file.flush()49 fcntl.flock(exit_file, fcntl.LOCK_UN)50 exit_file.close()