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

Re: svn system() replacement ?

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-01-28 17:19:11 CET

Philip Martin <philip@codematters.co.uk> writes:
> Ah, I see, apr_proc_create calls execve which explicitly sets the
> environment :-(
>
> What is needed is an APR function that calls execv thus allowing the
> environment to be inherited.

Philip, does this mean that your earlier suggestion:

> If you really intend to use a shell there are two options. Either add
> an additional parameter to svn_io_run_cmd to determine which of
> APR_PROGRAM/APR_SHELLCMD to use, or call apr_proc_create directly.

wouldn't work? Or that it would be undesirable for the same reasons
that calling system() is undesirable?

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:00 2006

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

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