<div class="gmail_quote">On Mon, Feb 15, 2010 at 18:10, News123 <span dir="ltr"><<a href="mailto:news123@free.fr">news123@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
Is there a python way to register new windows services.<br>
<br>
<br>
I am aware of the<br>
instsrv.exe program, which can be used to install services.<br>
I could use subprocess.Popen to call<br>
<br>
<br>
instsrv.exe "service_name" program.exe<br>
<br>
<br>
but wondered, whether there's already an existing function.<br>
<br>
Thans in advance and bye<br>
<br>
<br>
N<font color="#888888"><a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank"></a><br>
</font></blockquote></div>There is nothing like that in the stdlib, so calling instserv via Popen may be your best bet.<br><br>"sc create" may also be helpful to you.<br>