Message6502
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 |
2011-04-22 13:53:16 | hierynomus | set | recipients:
+ hierynomus |
2011-04-22 13:53:16 | hierynomus | set | messageid: <1303480396.43.0.804386981162.issue1738@psf.upfronthosting.co.za> |
2011-04-22 13:53:16 | hierynomus | link | issue1738 messages |
2011-04-22 13:53:15 | hierynomus | create | |
|