Kizito Porta Balanyà
Wed Dec 24 10:22:00 GMT 2014
I would like to script the exit values of cygrunsrv --query servicename.
In particular I would test the values of the "Current State" output:
stopped, started, running.
I know that I can wrap and grep the output "Current State " and get
the desired result, but I think that something like the following
would be useful. For example:
cygrunsrv --checkstopped servicename , should return true or false
cygrunsrv --checkstarted servicename, should return true or false
cygrunsrv --checkruning servicename, should return true or false
What do you think?
Thanks a lot for your time.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin