c# - How can I have a service run a process under the current user's session? -
i have service, written in c#, monitors set of files. uses growl notify end-user if modified time of 1 of these files on 4 hours old. i've seen situations growl.exe not running under current user's session, did not receive updates. i'd service check make sure growl running (either growl.exe or maybe application id somewhere?) , start if it's not. how can ensure growl running in current user's session on machine service runs on?
if service needs run current user, why make service? purpose of service run @ times, when user not logged in. such, it's designed run specific user @ times.
why not convert program runs when user logs in?
Comments
Post a Comment