From: Phil S. <phi...@ho...> - 2001-10-19 06:27:26
|
I've just learned that ant has the ability to get at environment variables. The ant solution (which is in org.apache.tools.ant.taskdefs.Execute.java) works by defining CommandLaunchers for each platform. What I was wondering is, why doesn't jython incorporate the same mechanism? It seems to me that you should be able to define os.system, some os.exec variants, and os.environ with some smart usage of java.lang.Runtime. This would obviate the need for jnios. Has anyone already tried this and failed? |