Hi all,

I have an issue under Linux AMD64 running STAX.

python_script = '{STAF/Config/STAFRoot}/scripts/myscript.py'
var1 = '2'
var2 = '90'
<command>'%s' % (python_script)</command>

The above works fine, however when I try and add parameters.

python_script = '{STAF/Config/STAFRoot}/scripts/myscript.py'
var1 = '2'
var2 = '90'
<command>'%s %s %s' % (python_script, var1, var2)</command>

The process failed to start, RC: 10, STAFResult: Invalid command:
/opt/staf/scripts/myscript.py 2 90
The command is not a file or does not have execute permissions.
OS RC2

Any ideas?

Matt
------------------------------------------------------------------------------
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to