Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/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()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement