From: <da...@cr...> - 2002-01-24 09:35:14
|
Jim, Have you tried using the java.lang.Runtime.exec() methods from within jython? Sounds like they will do everything you need, although I haven't used them in anger myself. Dave >I need to execute commands on AIX, parse the output, and ... >as a Java Bean. Since I am brand new to Python, I anxiously imported os and >tried to execute os.popen('command') and grab the output stream. However, >popen has not yet been implemented in jython! Given that big let down, does >anyone know how in the world can I execute a shell command and process the >resulting output stream from jython? Thanks in advance for your help! > >Jim Boone |