[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Call svn executable from php on windows hangs forever

From: Kamal <kalotus_at_gmail.com>
Date: 2006-07-17 17:14:30 CEST

Hi everybody.
I don't know if this is the right ML to write to, tell me if you think
I should ask somewhere else please.

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

$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
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...

If someone can help me in any way I appreciate it very much, thank you.

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:35:28 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.