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

How to logout from a login page in asp.net -

Stack level too deep error after upgrade to rails 3.2 and ruby 1.9.3 -