|
From: Glen S. <gl...@en...> - 2001-07-10 13:29:11
|
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")
p.waitFor()
|