programming-examples/java/XML/Process Exec.java
2019-11-15 12:59:38 +01:00

21 lines
369 B
Java

Process Exec
package com.ack.j2se.lang;
import java.io.IOException;
public class ProcessExec {
public static void main( String[] argv ) {
String command = "c:\\winnt\\explorer.exe";
try {
Process process = Runtime.getRuntime().exec( command );
}
catch( IOException ioex ) {
ioex.printStackTrace();
}
}
}