Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

EventGhost as a system service?

If you have a question or need help, this is the place to be.
Post Reply
CollinR
Experienced User
Posts: 265
Joined: Tue Sep 05, 2006 7:16 am
Location: Oklahoma
Contact:

EventGhost as a system service?

Post by CollinR »

Has anyone tried running EventGhost as a service?

TIA


I ask because I am having troubles with a system service interacting with EG via command line. So I thought having EG running as a system service may help as well as all the other benfits of having it run as a service.
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

No, this won't work. EG needs access to GUI functions and those are permitted for system services. This could also be the reason, why you are not able to call EG from a service. Possibly you can use ActiveX to communicate with EG, by writing a small Visual Basic script, but I haven't tried.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
CollinR
Experienced User
Posts: 265
Joined: Tue Sep 05, 2006 7:16 am
Location: Oklahoma
Contact:

Post by CollinR »

darn :cry:

It's strange, SageTV can send command line to EG from the local client but not from networked thin clients. I have tried setting "interact with desktop" for the SageTVService however. Still no luck. :(

I am lucky though as the guy who build the plugin for Sage I am using is very active and very very knowledgable. So maybe eventually I'll get it.
CollinR
Experienced User
Posts: 265
Joined: Tue Sep 05, 2006 7:16 am
Location: Oklahoma
Contact:

Re: EventGhost as a system service?

Post by CollinR »

Solution!

Call EG as a network sender, using your "lite" provision (CLI -n)

Since this doesn't start EG it just sends whatever you tell it to, I think the problem was the service started a second instance of EG and that instance had the default xml. Hence not sending the actions, they aren't in the default xml. :lol:
Post Reply