RunCmd: add optional environment overriding
authorGuido Trotter <ultrotter@google.com>
Thu, 14 Aug 2008 10:26:44 +0000 (10:26 +0000)
committerGuido Trotter <ultrotter@google.com>
Thu, 14 Aug 2008 10:26:44 +0000 (10:26 +0000)
commit2557ff82c74c64585ddfff709440b2ce10bbd798
tree05577669aa746f03910d1120d3f72d72e2e02aab
parentd47d3d383ea7394ce49bbf0b50571279c8a4da77
RunCmd: add optional environment overriding

If the user passes an env dict to RunCmd we'll override the environment
passed to the to-be-executed command with the values in the dict. This
allows us to pass arbitrary environment values to commands we run.

Reviewed-by: imsnah
lib/utils.py