org.codehaus.plexus.util.cli
Class CommandLineUtils
java.lang.Object
org.codehaus.plexus.util.cli.CommandLineUtils
public abstract class CommandLineUtils
extends java.lang.Object
$Id: CommandLineUtils.java 3038 2006-02-11 13:51:19Z evenisse $
processes
private static Map processes
getSystemEnvVars
public static Properties getSystemEnvVars()
throws IOException
isAlive
public static boolean isAlive(long pid)
killProcess
public static void killProcess(long pid)
Kill a process launched by executeCommandLine methods
Doesn't work correctly on windows, only the cmd process will be destroy but not the sub process (
Bug ID 4770092)
pid
- The pid of command return by Commandline.getPid()