Commits

Anthony Tuininga committed 63ff578

Use the full path for the service executable.

  • Participants
  • Parent commits 011d786

Comments (0)

Files changed (1)

File source/bases/Win32Service.c

         return LogPythonException("cannot create display name");
 
     // determine command to use for the service
-    command = PyString_FromFormat("\"%s\"", programName);
+    command = PyString_FromFormat("\"%s\"", Py_GetProgramFullPath());
     if (!command)
         return LogPythonException("cannot create command");
     if (configFileName) {