Class Executable

java.lang.Object
net.ME1312.SubServers.Bungee.Host.Executable

public class Executable extends Object
Executable Handler Class
  • Method Details

    • parse

      public static String[] parse(String gitbash, String exec)
      Format a command to be executed
      Parameters:
      gitbash - Git Bash location (optional)
      exec - Executable String
      Returns:
      Formatted Executable
    • pid

      public static Long pid(Process process)
      Get the PID of a currently running process
      Parameters:
      process - Process
      Returns:
      Process ID (null if unknown)
    • terminate

      public static void terminate(Process process)
      Terminate a currently running process
      Parameters:
      process - Process