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

Re: hot-backup.py

From: Peter Samuelson <peter_at_p12n.org>
Date: 2006-04-02 12:53:46 CEST

[Gavin Band]
> If the name contains double quotes, neither version seems to work.
> I'm afraid I don't know a way around this - is there a simple way to
> turn a filename into a fully-escaped version?

In perl you'd execute the command using a list instead of a string -
that way no word splitting is done, either by perl or by a shell. I
would assume python has a similar facility, to run fork+exec / spawn
directly rather than through system() or popen() ... right?

Received on Sun Apr 2 12:54:11 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.