PythonService file creation

Gordon McMillan gmcm at hypernet.com
Mon Jul 10 14:49:47 EDT 2000


Dale Burnett wrote:

>When running my app at the command prompt using the debug option I can
>create a new file and write to it.  When the app is started via Control
>Panel/Services the file is not created and written too.  I have used the
>python native file functions and the NT api CreateFile() function.  I
>have tried running the service using the System Account with Interact
>with Desktop checked and specifying an account.
>Any suggestions?

Besides the account it's running under, the only other problem I can think 
of is relying on some (mistaken) notion of what the current directory is.

I've written files from services, so I know there's no showstopper.

- Gordon



More information about the Python-list mailing list