Advertisement
calamari__

calamari

Jul 11th, 2012
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. #!/usr/bin/env python
  2. import os
  3. pid = str(os.getpid())
  4. f = open("/tmp/kdeinit-dup-test_" + pid + ".pid", "w")
  5. f.write("ppid: " + str(os.getppid()) + "\n")
  6. f.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement