New submission from Sowmya:

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\\test_subprocess_jy.py\',
 line 13, in testDefaultEnvIsInherited
    p1 = Popen([sys.executable, \'-c\',
  File \'L:\\apps\\ascii\\jython\\70files\\current\\win\\Lib\\subprocess.py\', 
line 755, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File \'L:\\apps\\ascii\\jython\\70files\\current\\win\\Lib\\subprocess.py\', 
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 - 
(http://www.oracle.com/technetwork/java/javase/7u21-relnotes-1932873.html#jruntime).
 Python  code  needs to be modified to use "Cmd.exe" while running commands 
that contains quotes in it

----------
files: test_subclasses_jy.py
messages: 191389
nosy: sowmyalakkappa
priority: normal
severity: normal
status: open
title: test_subprocess_jy fails when Argument has embedded quote
type: enhancement
versions: Python 2.6
Added file: http://bugs.python.org/file30632/test_subclasses_jy.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18251>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to