Hi Arto, Leandro,

You should follow the sample for services found in the cx_Freeze repo:
https://github.com/anthony-tuininga/cx_Freeze/tree/master/cx_Freeze/samples/service.
If you still have questions after looking through that, let me know.

Anthony

On Mon, Aug 14, 2017 at 4:40 AM, Leandro Garcia <leandro.garci...@gmail.com>
wrote:

> Hi Arto,
>
> I'm new on this... but if I'm not wrong, the service should be register
>
> https://stackoverflow.com/questions/3582108/create-windows-service-from-
> executable
>
> You can run a bat to register it or in another python program... with
> cx_Freeze but I have never tried!
>
> What I understand of the project is that for the moment it gives you basic
> capabilities to create EXE...but just for distribution :'( <Sad> ..
>
> Leandro
>
> On Mon, Aug 14, 2017 at 11:39 AM, arto rasimus via cx-freeze-users <
> cx-freeze-users@lists.sourceforge.net> wrote:
>
>> Anybody there?
>>
>>
>> On Wednesday, August 9, 2017 12:18 PM, arto rasimus via cx-freeze-users <
>> cx-freeze-users@lists.sourceforge.net> wrote:
>>
>>
>> Hello.
>>
>> I have question about freezing a Python 3.6 script.
>> The cx_Freeze version has been 5.0.2
>>
>> My goals:
>> - the exe should operate as a service under Windows10.
>> - the service should be able to respond to TCP requests as a server.
>>
>> The exe runs well if the base is "Win32GUI" in the setup.py, but in that
>> case it does not communicate with TCP ports
>> (though it can set a port up into ESTABLISHED state).
>>
>> I have found the Win32Service base in the version 4.3.4 but with that the
>> execution crashes. Is it correct base?
>> There comes error: "Internal Message: cannot locate service name"
>> That comes from Win32Service.
>>
>> Can anyone help me with this? Basically what base should I use with a
>> server?
>> Do I have to build the base exe first and how?
>>
>> Br,
>> Arto Rasimus
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot______
>> _________________________________________
>> cx-freeze-users mailing list
>> cx-freeze-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>>
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> cx-freeze-users mailing list
>> cx-freeze-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>>
>>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> cx-freeze-users mailing list
> cx-freeze-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to