You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to run my program in win10.
When I invoke Run(), logs will be written in my file.
However, if I invoke Start(), logs won't be written in my file.
I think both function will run properly except the logs.
I wonder what happens?
These two functions look similar.
The text was updated successfully, but these errors were encountered:
// Run should be called shortly after the program entry point.
// After Interface.Stop has finished running, Run will stop blocking.
// After Run stops blocking, the program must exit shortly after.
Run() error
Start()
// Start signals to the OS service manager the given service should start.
Start() error
The results I tested on Windows 10 are as follows:
I configured the service name as bthserv (a Windows system service, related to Bluetooth).
When Run () is called, func (p * program) Start (s service.Service) error will be called, and the service already in the system has not been started.
However, calling Start () will start the service already installed on the system and func (p * program) Start (s service.Service) error is not called.
I try to run my program in win10.
When I invoke Run(), logs will be written in my file.
However, if I invoke Start(), logs won't be written in my file.
I think both function will run properly except the logs.
I wonder what happens?
These two functions look similar.
The text was updated successfully, but these errors were encountered: