From: D-Man <ds...@ri...> - 2001-07-10 13:38:21
|
On Tue, Jul 10, 2001 at 06:20:27AM -0700, Glen Starchman wrote: | On Tue, 10 Jul 2001, Kevin McNamee wrote: | > Is there no possibility to run arbitrary system commands without writing | > Java code? | | | In a nutshell, no... however, it is not Java code you will be | writing... it will be Jython :-) | | For example: | | from java.lang import * | Process p = Runtime.getRuntime().exec("ls -al") ^^^^^^^ :-) That is Java. Jython doesn't use type declarations. | p.waitFor() -D |