Re: [python-win32] How to enable pywin to evaluate -X utf8 flag

2023-06-06 Thread Gualtiero Scotti
t work without the command-line mods? > > Mark > On 2023-06-06 9:57 a.m., Gualtiero Scotti wrote: > > Thank you Mark for your response, and your explanation.You are right, > python.exe is not involved but I thought you handled the flag in your > embedded calls.. > When I try

Re: [python-win32] How to enable pywin to evaluate -X utf8 flag

2023-06-06 Thread Gualtiero Scotti
about what went wrong with using python.exe as the > executable for the service we might be able to work something out there, > but "doesn't work" has never been a useful starting point. > > Cheers, > > Mark > On 2023-06-06 2:56 a.m., Gualtiero Scotti wrote: >

Re: [python-win32] How to enable pywin to evaluate -X utf8 flag

2023-06-06 Thread Gualtiero Scotti
vance Il giorno lun 5 giu 2023 alle ore 10:51 Gualtiero Scotti ha scritto: > HI Mark, > I've tried your solution but it doesn't work. When calling python > directly, service fails to start. > When i use > #_exe_name_ = sys.executable > #_exe_args_ = ' -X utf

[python-win32] How to enable pywin to evaluate -X utf8 flag

2023-06-01 Thread Gualtiero Scotti
Hi, I need to start my python application through windows service. For this purpose I use pywin32. I'm not able to make a Python instance to evaluate the -X uf8 flag. This flag must be passed during python invocation only and not when it is already started. After some investigations I've found the