Quoth Kamal <mailto:kalotus@gmail.com>:
> I'm trying to call the svn.exe executable from a php script
> (I know there is php_svn and other ways but now I need to
> test this). For example a simple
>
> <?php
> chdir('c:\\local_working_copy');
> $output = shell_exec('svn help');
>>
>
> works as expected printing the help message. If execute "svn
> ls" instead of "svn help" it just waits forever until I kill
> the process manually. Obviously the same command from the
> command line works as expected, I use svn+ssh and have
> configured the SVN_SSH env var with password too (just to be
> sure it's not an authentication problem). My svn client is
> 1.3.2 (I installed the last one I think), ssh client is
> plink.exe 0.58, OS is windows 2k pro sp4 patched and
> webserver Apache/2.2.2 + PHP/5.1.4 (xampp 1.5.3a).
>
> My sensation is that if called from command line it's not
> interactive, if called from webserver it expects something else
> forever...
Is your webserver running as a different user? If so, it's probably
missing the appropriate credentials, so it's prompting you for them.
You should be using the --non-interactive options when you don't want it
to be interactive, incidentally.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 18 02:45:52 2006