• Guido van Rossum's avatar
    Hack for Windows so that if (1) the exit status is nonzero and (2) we · 2c1f6be3
    Guido van Rossum yazdı
    think we have our own DOS box (i.e. we're not started from a command
    line shell), we print a message and wait for the user to hit a key
    before the DOS box is closed.
    
    The hacky heuristic for determining whether we have our *own* DOS box
    (due to Mark Hammond) is to test whether we're on line zero...
    2c1f6be3
pythonrun.c 26.1 KB