wsadmin>import subprocess
wsadmin>
subprocess.call([sys.executable, 'abc.py', 'argument1', 'argument2'])
However, I can't seem to successfully import the subprocess module
This being the case I'm using the following approach...
wsadmin>import sys
wsadmin>sys.argv = ['argument1', 'argument2']
wsadmin>execfile('abc.py')
No comments:
Post a Comment