Good morning
ok a few notes to make here
Actually looking at the code you linked, in the case of PyInstaller it
would redirect it at the PyInstaller executable. So you could probably
implement some sort of handling.
Please appreciate my background when asking this.
I started in machinecode/assembler and have migrated over the years (35
of them) to where i now mostly do python
I understand C programming but not in a windows environment (i am an isp
that runs FreeBSD servers etc)
python exe even when run from scheduler is a crap shoot.
up to windows ten this works
windows 11 / Server 2019 (based on windows ten) / Server 2022 both
pyinstaller exe and pyton from command prompt service installs and with
pyinstaller will not start and with straight python service starts but
fails execution
I have to run as a system user to execute the rasdialer as when people
log in and out the system will drop the connection when it is attached
as a user.
I am starting to think some security issues, updates whatever
Any ideas for both issues,
running a service (ie modifying python code as suggested)
and/or am i fighting a security issue.
Ideas please ??
Happy Wednesday !!!
Thanks - paul
Paul Kudla
On 8/7/2023 11:08 AM, 'Jasper Harrison' via PyInstaller wrote:
> Actually looking at the code you linked, in the case of PyInstaller it
> would redirect it at the PyInstaller executable. So you could probably
> implement some sort of handling.
>
> Jasper Harrison, aka Legorooj
> Core Developer on PyInstaller
>
https://legorooj.net
>
>
>
>
>
>
> -------- Original Message --------
> On 6 Aug 2023, 23:34, bwoodsend <
bwoo...@gmail.com> wrote:
>
>
> pywin32’s construction of the service command
> <
https://github.com/mhammond/pywin32/blob/630ffa3a372874784b9e6f8b68359179b9ec259b/win32/Lib/win32serviceutil.py#L224-L225> is assuming that your application contains the python.exe entrypoint which isn’t possible with PyInstaller. This isn’t going to work I’m afraid.
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "PyInstaller" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
pyinstaller...@googlegroups.com
> <mailto:
pyinstaller...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/pyinstaller/c8eb0aac-582a-422a-a6c5-88a7886cf491n%40googlegroups.com <
https://groups.google.com/d/msgid/pyinstaller/c8eb0aac-582a-422a-a6c5-88a7886cf491n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "PyInstaller" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
pyinstaller...@googlegroups.com
> <mailto:
pyinstaller...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/pyinstaller/3zERyX8JXoVwM9ZxdGxBQhjMEoHpcyUzMJi0jy0_w0HljR5M0Zue9f9ePJ6oSfsj3VksTR9abzYJpUAiu247U6KrGpjqZUT2LYcBj-rEd_o%3D%40protonmail.com <
https://groups.google.com/d/msgid/pyinstaller/3zERyX8JXoVwM9ZxdGxBQhjMEoHpcyUzMJi0jy0_w0HljR5M0Zue9f9ePJ6oSfsj3VksTR9abzYJpUAiu247U6KrGpjqZUT2LYcBj-rEd_o%3D%40protonmail.com?utm_medium=email&utm_source=footer>.