[Scons-users] git use

Russel Winder russel at winder.org.uk
Fri Aug 10 12:30:03 EDT 2012


On Fri, 2012-08-10 at 10:47 -0400, Gary Oberbrunner wrote:
[…]

> 1. SConstructs are just python; you can use os.system('git clone ...')


Although not actually deprecated, use of os.system is seemingly now
frowned upon. subprocess.call is deemed the better tool.

subprocess was new in 2.4 so we can use it in SCons.

[…]

--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : <http://four.pairlist.net/pipermail/scons-users/attachments/20120810/ecf33e67/attachment.pgp>


More information about the Scons-users mailing list