0

I'm curious, is there a way to run my Go program in the background as a daemon in windows?

I have a hello-world.exe on my machine, how do I run this in the background or hide the console window?

blami
  • 6,588
  • 2
  • 23
  • 31
  • Does this answer your question? [Create Windows service from executable](https://stackoverflow.com/questions/3582108/create-windows-service-from-executable) – blami Sep 25 '21 at 09:30
  • As @blami stated, you can create windows service. You can check the following library to serve your application as a windows service; https://github.com/kardianos/service. – sigkilled Sep 25 '21 at 09:37
  • I tested it out but I get a timeout 1053 error when trying to run the service – Áron Pop Adorján Sep 28 '21 at 06:19

0 Answers0