to shell out of interactive mode.
"""
-import string
import sys
import TestSCons
_python_ = TestSCons._python_
shell_command_py = test.workpath('shell_command.py')
-_shell_command_py_ = '"%s"' % string.replace(shell_command_py, '\\', '\\\\')
+_shell_command_py_ = '"%s"' % shell_command_py.replace('\\', '\\\\')
test.write(shell_command_py, """\
print 'hello from shell_command.py'