Title: [Python] calamari Author: calamari Pastebin link: http://pastebin.com/qp4SmAuC First Edit: Wednesday 11th of July 2012 03:13:31 PM CDT Last Edit: Wednesday 11th of July 2012 03:13:31 PM CDT #!/usr/bin/env python import os pid = str(os.getpid()) f = open("/tmp/kdeinit-dup-test_" + pid + ".pid", "w") f.write("ppid: " + str(os.getppid()) + "\n") f.close()