[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2019-04-27 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2014-07-15 Thread Mark Lawrence
Mark Lawrence added the comment: @Tim can you pick this up? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9699 ___

[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2014-07-15 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9699 ___ ___ Python-bugs-list

[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2011-06-01 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 2.5, Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9699 ___

[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2010-09-13 Thread sorin
sorin sorin.sbar...@gmail.com added the comment: I made a small but important update to quote_command(), now it does quote the command line only under Windows because doing this under other platforms may break the command line. -- ___ Python

[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2010-08-27 Thread sorin
New submission from sorin sorin.sbar...@gmail.com: Behavior: you get The input line is too long. error message when you try to run an external process by using os.system(), subprocess.Popen() or other similar methods. The real command line limit is 8192 under Windows and in most cases (if not

[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2010-08-27 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Python does not call _popen, though it does call cmd.exe (through CreateProcess) when shell=True in subprocess. Can you provide an example that shows this error occurring? -- nosy: +r.david.murray versions: -Python 2.5, Python

[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2010-08-27 Thread sorin
sorin sorin.sbar...@gmail.com added the comment: I'm currently building some samples (one that could be run on any Windows machine). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9699

[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2010-08-27 Thread sorin
sorin sorin.sbar...@gmail.com added the comment: Here is a test file. It does contain 3 command lines that are similar but one of them is not working (cmd_2). -- Added file: http://bugs.python.org/file18662/bug_line_too_long.py ___ Python tracker

[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2010-08-27 Thread sorin
sorin sorin.sbar...@gmail.com added the comment: True about tee, I forgot to remove it. By the way, in case the other patch does not solve the issue we can use the quote_command() from http://github.com/ssbarnea/tendo/blob/master/tendo/tee.py to solve it. -- versions: +Python 2.5

[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2010-08-27 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Thanks, sorin. This issue is at least affected by the fix to issue 2304. I don't currently have an up-to-date version of 2.7 trunk on my windows VM, so I can't test your code there. (Note that 'import tee' needs to be removed before

[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2010-08-27 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- assignee: - tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9699 ___ ___ Python-bugs-list

[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2010-08-27 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: I'll pick this up and try to decide what's best to do. I'm away from home for a few weeks and have only intermittent internet access. Thanks, Sorin, for a reproducible test case. -- title: invalid call of Windows API _popen() generating