How to stop server (hg serve) ?
Alexander Schatten
ml_alexanderschatten at gmx.at
Mon Nov 2 05:48:30 CST 2009
Yes, this works indeed.
I did check the Mac OS UI Activity Log (I have a German OS here, I am not sure what the English name is, Germin is "Aktivitätsanzeige").
And there is always just indicates "Python". This is what I meant, and it was probably a misunderstanding.
However, I still believe, that this is a rather inelegant solution.
thanks for the help
Alex
-------- Original-Nachricht --------
> Datum: Mon, 2 Nov 2009 12:34:31 +0100
> Von: Christian Ebert <blacktrash at gmx.net>
> An: mercurial at selenic.com
> Betreff: Re: How to stop server (hg serve) ?
> * 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/
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
More information about the Mercurial
mailing list