]> granicus.if.org Git - python/commit
Hack for Windows so that if (1) the exit status is nonzero and (2) we
authorGuido van Rossum <guido@python.org>
Fri, 8 Jan 1999 15:56:28 +0000 (15:56 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 8 Jan 1999 15:56:28 +0000 (15:56 +0000)
commit2c1f6be38eee454038837769ef7d9b72011430ef
treeae05f50f00309518100692c1471adcb3dc58dfbf
parentb6584cac1ecbf6d93bb112cc6dcc30b82aa9735d
Hack for Windows so that if (1) the exit status is nonzero and (2) we
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...
Python/pythonrun.c