Process and Threads Demo

Process Demo ok
Threads Demo missing interface part
This commit is contained in:
Karsten Jeppesen
2021-02-15 07:37:50 +01:00
parent 71d5dfaf15
commit 1a88f622ad
7 changed files with 106 additions and 0 deletions

View 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...");
}
}