Programmatic invocation
Jan Hudec
bulb at ucw.cz
Wed Nov 2 09:16:24 UTC 2005
On Wed, Nov 02, 2005 at 02:36:32 +0100, Olivier Lefevre wrote:
> I realize that this is not an hg issue but since I am not proficient
> with python I will ask nonetheless: how would you go about invoking and
> driving hg locally from another (non-python) program? There are probably
> many options but which one works best?
The fact it's in python is completely irrelevant. Just spawn the
process. If you carefully choose the arguments, hg is not interactive,
so you just read it's output (if you need it).
--
Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20051102/be14e339/attachment-0001.asc>
More information about the Mercurial
mailing list