[ python-Bugs-1285325 ] Call to cmd.exe fails

SourceForge.net noreply at sourceforge.net
Thu Sep 8 22:29:17 CEST 2005


Bugs item #1285325, was opened at 2005-09-08 16:17
Message generated for change (Settings changed) made by delenca
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1285325&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Windows
Group: Python 2.4
>Status: Deleted
Resolution: None
Priority: 5
Submitted By: Alex Luso (delenca)
Assigned to: Nobody/Anonymous (nobody)
Summary: Call to cmd.exe fails

Initial Comment:
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
-------------

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1285325&group_id=5470


More information about the Python-bugs-list mailing list