finished part 1

master
Flavien Haas 3 years ago
parent 089b6a04d0
commit db4cdcca54

Binary file not shown.

@ -9,6 +9,8 @@ public class AProcess {
// args is the command
ProcessBuilder pb = new ProcessBuilder(args);
try {
Process process = pb.start();
// obtain the input and output streams
@ -21,5 +23,12 @@ public class AProcess {
System.out.println(line);
br.close();
} catch (IOException e) {
System.out.println(e);
}
}
}

Loading…
Cancel
Save