org.bridj.util
Class ProcessUtils
java.lang.Object
org.bridj.util.ProcessUtils
public class ProcessUtils
- extends Object
Util methods to : query the process id from the current process, launch processes (including JVM processes)
- Author:
- Olivier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessUtils
public ProcessUtils()
getCurrentProcessId
public static int getCurrentProcessId()
- Get the current process native id
computeJavaProcessArgs
public static String[] computeJavaProcessArgs(Class<?> mainClass,
List<?> mainArgs)
startJavaProcess
public static Process startJavaProcess(Class<?> mainClass,
List<?> mainArgs)
throws IOException
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.