Issue 1285325: Call to cmd.exe fails (original) (raw)
A python script calling another program through cmd.exe fails on one PC running Win XP but works fine in another. Both computers are running Win XP Pro SP2 and both were set up with the same versions of software (Python 2.4.1) and have the same environmental variables assigned. The specific error reported is: ------- ERROR Window 16 bit MS-DOS Subsystem C:\Python24\python.exe The NTVDM CPU has encountered an illegal instruction CS:0552 IP:ad0d5 OP:8f 66 4c 8f 4f Choose 'Close' to terminate application
The script that causes the problem is:
import os import sys
debug = 1
rd = os.environ['RIBBONS_HOME']
cmd = "python %s/elmo/ribbonsData.py" % rd