I want to svn update application folder on codeigniter by click update button on my program, I have tried this code but nothing todo
I call Service by AJAX
$.ajax({
url:"http://localhost/oneFarma/index.php/Welcome/version",
method:"post"
public function version(){
echo shell_exec('cleanup C:\xampp\htdocs\oneFarma\application –-non-interactive');
echo shell_exec('update 2>&1 C:\xampp\htdocs\oneFarma\application -–non-interactive');
}
'update' is not recognized as an internal or external command, operable program or batch file