exec() function doesn't rule svn checkout
Posted
by bahamut100
on Stack Overflow
See other posts from Stack Overflow
or by bahamut100
Published on 2010-05-02T08:39:49Z
Indexed on
2010/05/02
8:47 UTC
Read the original article
Hit count: 247
Hi,
I'm writing some functions in php using exec() to interrogate a svn.
The commands exec("svn list ".$myurl) works.
Now, I try to get a path on a svn repository with the checkout command. When I put the command "svn checkout http://core.wordress.org/tags/2.9.2/ last-version" directly in the console, it works.
But when I do this from a php script using exec(), like this :
exec("svn checkout ".$myurl, $dir) it doesn't work.
Have you an idea ??
© Stack Overflow or respective owner