command line interface - CakePHP CLI Commandline execution -


i want execute commandline using cakephp-cli. want build function executes application using command-line. cant find useful in documentation. did else got issue before?

thanks alot.

edit

i have created cli-class called database database synchronising functions in there. want use external tool called "liquibase". executed using commandline.

java -jar liquibase.jar -parameter1 -parameter2 

the problem have no idea how execute such command-line out of cakephp-cli.

i tried

 $this->runcommand("echo 'test'"); 

but output isn't displayed.

runcommand intended running (cake) shell / task methods, see. if want execute external commands use exec, see.


Comments

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -