Re: exec dont work for svn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Tue, May 29, 2007 10:44 am, Manolet Gmail wrote:
> 2007/5/28, Greg Donald <gdonald@xxxxxxxxx>:
>> On 5/28/07, Manolet Gmail <manolet@xxxxxxxxx> wrote:
>> > but this doesnt work:
>> >
>> > exec("svn update",$out);

exec("svn update", $out, $error);
if ($error) echo "OS Error: $error.  Use perror $error in shell to get
message";

>> > foreach($out as $line)echo"<br/>$line\n";
>> >
>> > dont print anything... dont update the files
>>
>> Is it possible you need to provide some type of authentication?
>> `svn
>> update` may be asking for input your exec call isn't providing.
>
> well, 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,..
>
>>
>>
>> --
>> Greg Donald
>> http://destiney.com/
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
> --
> 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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux