This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: test_subprocess_jy fails when Argument has embedded quote
Type: enhancement Stage: resolved
Components: Versions: Python 2.6
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: r.david.murray, sowmyalakkappa
Priority: normal Keywords:

Created on 2013-06-18 07:46 by sowmyalakkappa, last changed 2022-04-11 14:57 by admin. This issue is now closed.

File name Uploaded Description Edit sowmyalakkappa, 2013-06-18 07:46 Python testcase which needs modification
Messages (2)
msg191389 - (view) Author: Sowmya (sowmyalakkappa) Date: 2013-06-18 07:46
test_subprocess_jy fails with below error:
test test_subprocess_jy failed -- Traceback (most recent call last):
  File \'L:\\apps\\ascii\\jython\\70files\\current\\win\\Lib\\test\\\', line 13, in testDefaultEnvIsInherited
    p1 = Popen([sys.executable, \'-c\',
  File \'L:\\apps\\ascii\\jython\\70files\\current\\win\\Lib\\\', line 755, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File \'L:\\apps\\ascii\\jython\\70files\\current\\win\\Lib\\\', line 1269, in _execute_child
    raise OSError(e.getMessage() or e)
OSError: Argument has embedded quote, use the explicit CMD.EXE call.

Solution : This testcase needs to be changed to suit the changes mentioned in Oracle 7u21 - ( Python  code  needs to be modified to use "Cmd.exe" while running commands that contains quotes in it
msg191400 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2013-06-18 12:19
It looks like this bug belongs on the jython tracker at  (By the way, it isn't clear if the problem is in the jython code or the test; the stdlib Popen works as expected on Windows.)
Date User Action Args
2022-04-11 14:57:47adminsetgithub: 62451
2013-06-18 12:19:08r.david.murraysetstatus: open -> closed

nosy: + r.david.murray
messages: + msg191400

resolution: not a bug
stage: resolved
2013-06-18 07:46:10sowmyalakkappacreate