Process and Threads Demo
Process Demo ok Threads Demo missing interface part
This commit is contained in:
17
ProcessDemo/src/ProcessDemo.java
Normal file
17
ProcessDemo/src/ProcessDemo.java
Normal file
@@ -0,0 +1,17 @@
|
||||
import java.io.IOException;
|
||||
|
||||
public class ProcessDemo {
|
||||
// You will have to find your own application path for this
|
||||
|
||||
public static void main(String[] args) {
|
||||
ProcessBuilder builder = new ProcessBuilder("C:\\Program Files\\HeidiSQL\\heidisql.exe");
|
||||
try {
|
||||
Process process = builder.start();
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
System.out.println("Done...");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user