This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Call to cmd.exe fails
Type: Stage:
Components: Windows Versions: Python 2.4
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: delenca
Priority: normal Keywords:

Created on 2005-09-08 20:17 by delenca, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (1)
msg26253 - (view) Author: Alex Luso (delenca) Date: 2005-09-08 20:17
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

if debug:
    print cmd
    os.system(cmd)
    while 1:
        pass
-------------
History
Date User Action Args
2022-04-11 14:56:12adminsetgithub: 42357
2005-09-08 20:17:30delencacreate