Skip to content
Snippets Groups Projects
Commit dc2fa652 authored by Branden's avatar Branden
Browse files

Added documentation to isRunning

parent 25239d7d
No related branches found
No related tags found
2 merge requests!65Prototype,!48Feature detect program/launch application
......@@ -8,6 +8,12 @@ import java.util.Scanner;
public class DetectProgram {
/**
*
* @param Name A string of the name of the program you wish to see if it is running.
* @return True if program is running or False if it isn't
*/
public static boolean isRunning(String Name) throws IOException {
ProcessBuilder processbuildier = new ProcessBuilder("tasklist.exe");
......@@ -25,4 +31,5 @@ public class DetectProgram {
return output;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment