How to stop server (hg serve) ?

Christian Ebert blacktrash at gmx.net
Mon Nov 2 05:34:31 CST 2009


* Alexander Schatten on Monday, November 02, 2009 at 11:28:37 +0100
> the --pid-file option seems not to work under OS X. I tried it
> out, but the process is alway called "Python"... Not ideal.

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.5.8
BuildVersion:	9L30
$ hg serve --pid-file test.pid &
[1] 5417
$ cat test.pid
5417
$ kill -9 `cat test.pid`
[1]+  Killed                  hg serve --pid-file test.pid

c
-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]

_F R E E_  _V I D E O S_  --->>> http://www.blacktrash.org/underdogma/


More information about the Mercurial mailing list