Bugs item #725375, was opened at 2003-04-22 10:31
Message generated for change (Comment added) made by mhammond
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=725375&group_id=78018
Category: win32
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Gary Herron (herron)
Assigned to: Nobody/Anonymous (nobody)
Summary: Installing a service gets interactive mode wrong.
Initial Comment:
The procedure "InstallService" in "win32serviceutil.py" has
a parameter "bRunInteractive" meant to allow an installed
service the ability to interact with the screen. This
parameter is not handled correctly, and moreover, there is
no commandline access to the parameter.
At the very least, a true value for the parameter should
cause SERVICE_INTERACTIVE_PROCES to be or'ed into
the *service* type not the *startup* type (as the current
code does). This can be found in MS's documentation of
CreateService.
I've included a patch (on the version of win32serviceutil.py
in Python2.2) which does the above as well as adds a
simular parameter to ChangeServiceConfig. Moreover it
introcudes a new command line arg --interactive which
allows a command line option to set the flag on both
service installation and update.
I hope you find it useful.
Gary Herron
----------------------------------------------------------------------
>Comment By: Mark Hammond (mhammond)
Date: 2003-04-22 12:13
Message:
Logged In: YES
user_id=14198
Checked in - thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=725375&group_id=78018
|