OnJava8-Examples/io/OSExecuteDemo.java

17 lines
447 B
Java
Raw Normal View History

2015-04-20 15:36:01 -07:00
//: io/OSExecuteDemo.java
2015-05-29 14:18:51 -07:00
// <20>2015 MindView LLC: see Copyright.txt
2015-04-20 15:36:01 -07:00
// Demonstrates standard I/O redirection.
import net.mindview.util.*;
public class OSExecuteDemo {
public static void main(String[] args) {
OSExecute.command("javap OSExecuteDemo");
}
} /* Output:
Compiled from "OSExecuteDemo.java"
public class OSExecuteDemo extends java.lang.Object{
public OSExecuteDemo();
public static void main(java.lang.String[]);
}
*///:~