[
https://issues.apache.org/jira/browse/PROTON-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14020223#comment-14020223
]
ASF subversion and git services commented on PROTON-595:
--------------------------------------------------------
Commit 1600981 from [email protected] in branch 'proton/trunk'
[ https://svn.apache.org/r1600981 ]
PROTON-595: Accomodate windows when launching Popen(xxx.py,...)
Detects running on windows and in that case runs Popen with shell=True.
> Python test function MessengerApp.start fails on Windows
> --------------------------------------------------------
>
> Key: PROTON-595
> URL: https://issues.apache.org/jira/browse/PROTON-595
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Affects Versions: 0.7
> Environment: Windows ctest
> Reporter: Chuck Rolke
>
> The function uses Popen() where the first cmd arg is the name of a python
> file. Windows doesn't honor the #! at the beginning of the file and then
> fails with
> {noformat}
> [Error 193] %1 is not a valid Win32 application
> {noformat}
> This code could also be improved by printing the exception error text along
> with the path setting hint.
--
This message was sent by Atlassian JIRA
(v6.2#6252)