-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Just to comment briefly, you can use a [list] to Popen which should
> avoid the need to quote escape. Specifically, something like:

Yes, this was the way the code was originally (with a fixed argument
list) ; the reason I changed it to use Template was because the list
overload of popen on Win32 uses a particular argument format which isn't
compatible with either of the visual diff tools I've been using.

e.g. (non functional examples with enough detail to make a point)

Requires :

tortoisemerge /theirs:"file/with space.txt"

popen outputs :

tortoisemerge "/theirs:file/with space.txt"
(which doesn't work)

AFAICT, popen on Win32 just formats a command line and passes it to the
API anyway, so the end result is the same but using the list overload
restricts the format you can use because it chooses how to do the quoting ; in
order to support these tools you'd have to wrap them in a .bat file, which I
suppose is acceptable (I can try it).







-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIbUagcP1uebIhWSYRArQ9AJ9oRddYN7uaJo2CeqXlLP//ZKo6PACdHnse
GWv4UaQuSILMFxcOB/Jm+G0=
=TlZN
-----END PGP SIGNATURE-----

-- 
bzr-gtk mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.canonical.com/mailman/listinfo/bzr-gtk

Reply via email to