I\'m trying to \"faux-fork\" a process (an email being sent via SMTP) in my web application, and the application is built on Kohana.
$command = \'test/emai
After looking into Kohana3 source code, I found that it has support for cli (system/classes/kohana/cli.php). You can pass 3 options (uri, method, get, post). So:-
system/classes/kohana/cli.php
$ php index.php --uri="items/list"
would call the list method in Controller_Items.
list
Controller_Items