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.

Author sowmyalakkappa
Recipients sowmyalakkappa
Date 2013-06-18.07:46:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371541570.75.0.3271595345.issue18251@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2013-06-18 07:46:10sowmyalakkappasetrecipients: + sowmyalakkappa
2013-06-18 07:46:10sowmyalakkappasetmessageid: <1371541570.75.0.3271595345.issue18251@psf.upfronthosting.co.za>
2013-06-18 07:46:10sowmyalakkappalinkissue18251 messages
2013-06-18 07:46:10sowmyalakkappacreate