New submission from Arve Knudsen <arve.knud...@gmail.com>: As a regression from Python 2.6, when running .bat scripts on Windows with f.ex. subprocess.call under Python 2.7.1, arguments get interpreted by the shell. This bit me in the way that I could no longer pass arguments containing the character '|' to .bat scripts, something that works fine under Python 2.6.
To see the bug in action, run tst.py in the attached case.zip with Python 2.7.1. The case also demonstrates that the '|' character only gets interpreted when launching cmd scripts, not e.g. python.exe. ---------- components: Library (Lib) files: case.zip messages: 128119 nosy: Arve.Knudsen priority: normal severity: normal status: open title: subprocess: Arguments to .bat scripts get interpreted by shell type: behavior versions: Python 2.7 Added file: http://bugs.python.org/file20711/case.zip _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11139> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com