gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: gump/python/gump/process launcher.py
Date Wed, 14 Jul 2004 21:12:04 GMT
ajack       2004/07/14 14:12:04

  Modified:    python/gump/process launcher.py
  Log:
  An ENV would be handy...
  
  Revision  Changes    Path
  1.2       +5 -0      gump/python/gump/process/launcher.py
  
  Index: launcher.py
  ===================================================================
  RCS file: /home/cvs/gump/python/gump/process/launcher.py,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- launcher.py	14 Jul 2004 20:47:01 -0000	1.1
  +++ launcher.py	14 Jul 2004 21:12:04 -0000	1.2
  @@ -181,6 +181,11 @@
             if not os.path.exists(cwdpath): os.makedirs(cwdpath)
             os.chdir(cwdpath)
          
  +        # Write ENV over-writes...
  +        for envKey in execInfo.iterkeys():
  +            if not envKen in ['CMD','TMP','CWD']:
  +                os.environ[envKey]=execInfo[envKey]
  +                
           systemReturn=os.system(cmd)
           
           if not os.name == 'dos' and not os.name == 'nt':
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Mime
View raw message