Article Directory
foreword
Due to the needs of the project, when program 1 starts, it is necessary to check whether program 2 is started. If it is not started, the user is prompted to start program 2. Native window10-64 bit
1. Running results
Example: Start a self-made electron program named Taotao locally, and monitor whether the program is started.
-
starting program
-
execute code
-
operation result
2. Complete code
package com.jeesite