Skip to content

Commit

Permalink
[#2123]Cannot run program "python": CreateProcess error=2
Browse files Browse the repository at this point in the history
  • Loading branch information
flybyray committed Jul 3, 2017
1 parent b317c64 commit d0c217b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions framework/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -254,18 +254,24 @@
<condition property="playExtension" value="">
<and><os family="unix"/></and>
</condition>
<condition property="pythonExecutable" value="${basedir}/../python/python.exe">
<and><os family="windows"/></and>
</condition>
<condition property="pythonExecutable" value="python">
<and><os family="unix"/></and>
</condition>

<echo message="Testing unittests" />

<antcall target="unittest" />

<echo message="Testing development lifecycle (wait ...)" />

<exec executable="python" failonerror="true">
<exec executable="${pythonExecutable}" failonerror="true">
<arg value="${basedir}/../samples-and-tests/i-am-a-developer/tests.py" />
</exec>

<exec executable="python" failonerror="true">
<exec executable="${pythonExecutable}" failonerror="true">
<arg value="${basedir}/../samples-and-tests/i-am-a-developer/test_jvm_version_flag.py" />
</exec>

Expand Down

0 comments on commit d0c217b

Please sign in to comment.