Reputation: 11
When I commit my code form source tree bitbucket triggers a webhook that hit php code
exec('cd /d ' . $web_root_dir . ' && '. $git_bin_path . ' pull origin master');
it won't execute but when I copy the same command by copying from the log on command prompt it execute perfectly.
I've tried my heart out on this but no result.
Upvotes: 1
Views: 45