OnJava8-Examples/standardio/OSExecuteDemo.java

17 lines
384 B
Java
Raw Normal View History

2015-11-03 12:00:44 -08:00
// standardio/OSExecuteDemo.java
2015-06-15 17:47:35 -07:00
// Demonstrates standard I/O redirection.
import com.mindviewinc.util.*;
public class OSExecuteDemo {
public static void main(String[] args) {
OSExecute.command("javap OSExecuteDemo");
}
2015-09-07 11:44:36 -06:00
}
/* Output:
2015-06-15 17:47:35 -07:00
Compiled from "OSExecuteDemo.java"
public class OSExecuteDemo {
public OSExecuteDemo();
public static void main(java.lang.String[]);
}
2015-09-07 11:44:36 -06:00
*/