From: Glen S. <gl...@en...> - 2001-07-10 14:14:02
|
On Tue, 10 Jul 2001, D-Man wrote: > 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. My bad... I guess since I am mixing Java classes and Python classes together so much I tend to get confused from time to time. > > | p.waitFor() > > -D > > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > http://lists.sourceforge.net/lists/listinfo/jython-users -- So what can we do? There is only one solution. Start killing. If you know someone who is excited about compileable ASP code... KILL THEM. If you know someone who has Visual Studio .NET beta... KILL THEIR WHOLE FAMILY. -- /. posting |