So, instead of script a calling script b, it should call the interpreter
with script b as a parameter:
------------- script a -------------
#! /usr/local/bin/python
import posix
posix.environ['SOMETHING']= 'blah blah blah blah '
# Instead of:
# posix.execv('b', [])
# Invoke:
posix.execve('/usr/local/bin/python', ['-f', 'b'], posix.environ)
--------------------------------------
------------- script b -------------
#! /usr/local/bin/python
import sys, string, regsub, posix
a = posix.environ['SOMETHING']
print a
--------------------------------------
Thanks. Sorry for the bother. I hope someone can learn something from
this...
Benny.