From: Robert S. <re...@bu...> - 2011-02-26 22:30:22
|
New submission from Robert Spielmann <spi...@gm...>: Hi there, I discussed http://code.google.com/p/robotframework/issues/detail?id=786 with Pekka recently, and it turns out the problem is with the Jython launcher scripts. On Windows, arguments passed to jython.bat are parsed and split into several categories like JVM options etc. Afterwards, only those arguments that were not put into a certain context are passed to the desired Python script. On Linux, the Jython launcher script also performs this kind of argument parsing, but when launching the JVM, it passes ALL arguments to the Python script as "$@". This leads to cases where the Python script being executed complains about an unknown option or argument, like in the case of the Robot Framework, where "-J" options are not recognized by the framework, thus leading to an error message if the framework is started with Jython on linux. On Windows, however, it's possible to use -J options and they never reach the Python script. It would be nice to have this inconsistency fixed, in order to have identical behaviour in both environments. ---------- messages: 6410 nosy: rspielmann severity: normal status: open title: jython.bat vs jython - difference in argument handling type: behaviour versions: 2.5.1 _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue1712> _______________________________________ |