RE: [PHP] exec dont work for svn



Hi,

In many apps the messages comes as STDERR, so try:

exec("svn update 2>&1", $out);

Best regards,
Peter Lauri

www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free

-----Original Message-----
From: Manolet Gmail [mailto:manolet@xxxxxxxxx]
Sent: Tuesday, May 29, 2007 5:45 PM
To: PHP List
Subject: [PHP] exec dont work for svn

2007/5/28, Greg Donald <gdonald@xxxxxxxxx>:
On 5/28/07, Manolet Gmail <manolet@xxxxxxxxx> wrote:
but this doesnt work:

exec("svn update",$out);
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
.



Relevant Pages

  • Re: [PHP] exec dont work for svn
    ... www.dwsasia.com - company web site ... > well, i have error reporting and dont give me any error, also ... > PHP General Mailing List ... > To unsubscribe, visit: http://www.php.net/unsub.php ...
    (php.general)
  • Re: [PHP] V4 Vs V5 Issue
    ... > core_js.php is being read and is visible, the initEditor function is there ... > I dont have much hair and I am tearing out the rest as we speak:).....I ... > PHP General Mailing List ... > To unsubscribe, visit: http://www.php.net/unsub.php ...
    (php.general)
  • Re: Cant Open Attachments - In word 2003
    ... Word MVP web site http://word.mvps.org ... holding ctrl and clicking on the attachment link, ... being able to open the attachment, something i dont want to have to ...
    (microsoft.public.word.docmanagement)
  • Re: Help HP t45 muti-function on XP new hardware wizard problem
    ... I dont have the cd.. ... I downloaded the XP version from hp web site. ... I lost my hard drive and decided to run XP instead of windows me. ...
    (microsoft.public.windowsxp.print_fax)
  • Re: Forms and getting them to work
    ... > site provider has added the FrontPage Server Extensions. ... >>> ok first thing i dont want to be told to go to a help page made by David ... >>> David Bartosik arnt helpful and dont answer my problem, ... >>> Make sure that the Web site address displayed in the address bar of your ...
    (microsoft.public.publisher.webdesign)