if verbose(): print("addToKillList: %s : %s" % ( str(command_pid), command ))
process_ids.append({int(command_pid): [command]})
dir = os.path.dirname(filedict)
- if not os.path.exists(dir): os.makedirs(dir, 0o777)
+ if not os.path.exists(dir):
+ from salome_utils import makeDir
+ makeDir(dir)
with open(filedict,'wb') as fpid:
pickle.dump(process_ids, fpid)
except Exception: