| java.lang.Object de.mcs.utils.StartProcess
StartProcess | final public class StartProcess (Code) | | Starting a process like java.
author: w.klaas |
Method Summary | |
public static int | changeFilePermissions(File file) chaging file permissions.
Parameters: file - which file to change. | public static int | startJava(List<String> command, boolean wait, String workingDir) Starting java with a command list and optionally wait for program ending.
Parameters: command - list of all needed parameters Parameters: wait - wait for program ending Parameters: workingDir - where is the working dir for this vm. |
changeFilePermissions | public static int changeFilePermissions(File file)(Code) | | chaging file permissions.
Parameters: file - which file to change. result |
startJava | public static int startJava(List<String> command, boolean wait, String workingDir)(Code) | | Starting java with a command list and optionally wait for program ending.
Parameters: command - list of all needed parameters Parameters: wait - wait for program ending Parameters: workingDir - where is the working dir for this vm. the exit code of the process |
|
|