[python-win32] os.startfile() not working after py2exe into a service

Paul Moore p.f.moore at gmail.com
Wed Jan 18 23:45:00 CET 2006


On 1/18/06, aurora <aurora00 at gmail.com> wrote:
> Build using py2exe. Install as service. When os.startfile() is ran inside
> service, nothing happens. No error message. Nothing as all.
[...]
> I'm suspecting priviledge issue. But even if I change the service logon as
> myself instead of LocalAdmin, it makes no difference.

You probably need to set the service to "interact with desktop" -
otherwise your files probably are being opened, but the window is not
visible as it has no access to the user's screen.

Paul.


More information about the Python-win32 mailing list