php - ExecTask is not running -


i have following build.xml file:

<project name="myproject" default="testtarget" basedir=".">     <target name="testtarget">             <echo msg="starting task..." />          <exec command="echo hiiiiii" />         <echo msg="finished task..." />      </target>         </project> 

when run target command line phing testtarget following shown of terminal:

buildfile: /usr/local/apache2/htdocs/myproject/build.xml  myproject > testtarget:       [echo] starting task...      [echo] finished task...  build finished  total time: 0.1346 seconds 

as see <exec command="echo hiiiiii" /> isn't running!!

i'm using phing 2.6.1 , php 5.3.24 xdebug v2.2.3

what reason that?

it seems adding passthru="true" made work. new task should be:

<exec command="echo hiiiiii" passthru="true" /> 

Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

java.util.scanner - How to read and add only numbers to array from a text file -

iphone - Three second countdown in cocos2d -