Issue1738

classification
Title: JSR223: ScriptEngine.ARGV is not honoured
Type: behaviour Severity: normal
Components: Core Versions: Jython 2.5
process
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.

Messages
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"});
History
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