summaryrefslogtreecommitdiffstats
path: root/Master/Reference Architectures and Patterns/hjp5/examples/Listing1608.java
diff options
context:
space:
mode:
Diffstat (limited to 'Master/Reference Architectures and Patterns/hjp5/examples/Listing1608.java')
-rw-r--r--Master/Reference Architectures and Patterns/hjp5/examples/Listing1608.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/Reference Architectures and Patterns/hjp5/examples/Listing1608.java b/Master/Reference Architectures and Patterns/hjp5/examples/Listing1608.java
new file mode 100644
index 0000000..3532d14
--- /dev/null
+++ b/Master/Reference Architectures and Patterns/hjp5/examples/Listing1608.java
@@ -0,0 +1,15 @@
+/* Listing1608.java */
+
+import java.io.*;
+
+public class Listing1608
+{
+ public static void main(String[] args)
+ {
+ try {
+ Runtime.getRuntime().exec("notepad");
+ } catch (Exception e) {
+ System.err.println(e.toString());
+ }
+ }
+} \ No newline at end of file