[qmtest] adding --pid switch to qmtest?
Mark Mitchell
mark at codesourcery.com
Mon Aug 26 05:04:50 UTC 2002
--On Wednesday, August 21, 2002 03:55:55 PM -0400 Mike Carifio
<carifio at usys.com> wrote:
> When I run qmtest gui <etc>, I'd like it to print out
> the pid into a file, say /var/run/qmtest.pid. What's the
> "right" way of doing that? I'm thinking I want to modify
> the command line processing to take an optional --pid <path>
> switch and then modify qm/qm/web.py's WebServer class to write
> out os.getpid() to a file.
Yes, that should work.
Thanks,
--
Mark Mitchell mark at codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the qmtest
mailing list