Title: JSR223: ScriptEngine.ARGV is not honoured
Type: behaviour Severity: normal
Components: Core Versions: Jython 2.5
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: fwierzbicki, hierynomus
Priority: normal Keywords:

Created on 2011-04-22.13:53:16 by hierynomus, last changed 2013-02-25.18:31:25 by fwierzbicki.

msg6502 (view) Author: Jeroen van Erp (hierynomus) Date: 2011-04-22.13:53:15
If you want to pass arguments to a script executed by the PyScriptEngine, you need to create a PySystemState to register them in. However, far as I can see, the spec specifies that you should be able to use:
scriptEngine.put(ScriptEngine.ARGV, {"foo", "bar"});
Date User Action Args
2013-02-25 18:31:25fwierzbickisetpriority: normal
nosy: + fwierzbicki
versions: + Jython 2.5, - 2.5.1
2011-04-22 13:53:16hierynomuscreate