Re: exec dont work for svn
| From: | Manolet Gmail | Date: | Wed, 30 May 2007 21:30:21 +0000 |
| Subject: | Re: exec dont work for svn | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-255878@lists.php.net to get a copy of this message | ||
2007/5/30, Richard Lynch <ceo@l-i-e.com>:
On Tue, May 29, 2007 10:44 am, Manolet Gmail wrote: 2007/5/28, Greg Donald <gdonald@gmail.com>:give me error 1: OS error code 1: Operation not permitted also, the checkout was did by other user. but i do chmod -R 777 * as root. so what i can do ?exec("svn update", $out, $error); if ($error) echo "OS Error: $error. Use perror $error in shell to get message";On 5/28/07, Manolet Gmail <manolet@gmail.com> wrote:but this doesnt work: exec("svn update",$out);
foreach($out as $line)echo"<br/>$line\n"; dont print anything... dont update the fileswell, i have error reporting (E ALL) and dont give me any error, also i try with svn update --non-interactive --username user --password pass and again... nothing appears. Also if the svn update ask for a password why php dont show it?, or why i dont receive a maximum ececution time of script error?. the script run instantly btw,..Is it possible you need to provide some type of authentication? `svn update` may be asking for input your exec call isn't providing.-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?-- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php