Need a way to check status of Windows service programmatically

前端 未结 9 1007
走了就别回头了
走了就别回头了 2021-01-04 10:11

Here is the situation:

I have been called upon to work with InstallAnywhere 8, a Java-based installer IDE, of sorts, that allows starting and stopping of windows ser

9条回答
  •  旧巷少年郎
    2021-01-04 10:38

    During startup, create a file with File.deleteOnExit().

    Check for the existence of the file in your scripts.

提交回复
热议问题