Created
July 15, 2009 05:02
-
-
Save mayuki/147460 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import clr | |
| from System.Diagnostics import * | |
| pid_path = '/tmp/tig.pid' | |
| f = open(pid_path, 'w') | |
| f.write(Process.GetCurrentProcess().Id.ToString()) | |
| f.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment