@ -15,33 +15,33 @@ import java.io.IOException;
public class Runtime {
public class Runtime {
private Runtime ( ) {
private Runtime ( ) {
}
}
public Process exec ( String command ) throws IOException {
public Process exec ( String command ) throws IOException {
return exec ( command , null , null ) ;
return exec ( command , null , null ) ;
}
}
public Process exec ( String command , String [ ] envp ) throws IOException {
public Process exec ( String command , String [ ] envp ) throws IOException {
return exec ( command , envp , null ) ;
return exec ( command , envp , null ) ;
}
}
public Process exec ( String command , String [ ] envp , File dir )
public Process exec ( String command , String [ ] envp , File dir )
throws IOException {
throws IOException {
return ProcessManager . getInstance ( ) . exec ( null , envp , null , false ) ;
return ProcessManager . getInstance ( ) . exec ( null , envp , null , false ) ;
}
}
public Process exec ( String cmdarray [ ] ) throws IOException {
public Process exec ( String cmdarray [ ] ) throws IOException {
return exec ( cmdarray , null , null ) ;
return exec ( cmdarray , null , null ) ;
}
}
public Process exec ( String [ ] cmdarray , String [ ] envp ) throws IOException {
public Process exec ( String [ ] cmdarray , String [ ] envp ) throws IOException {
return exec ( cmdarray , envp , null ) ;
return exec ( cmdarray , envp , null ) ;
}
}
public Process exec ( String [ ] cmdarray , String [ ] envp , File dir )
public Process exec ( String [ ] cmdarray , String [ ] envp , File dir )
throws IOException {
throws IOException {
return ProcessManager . getInstance ( ) . exec ( cmdarray , envp , dir , false ) ;
return ProcessManager . getInstance ( ) . exec ( cmdarray , envp , dir , false ) ;
}
}
}
}