Esempio n. 1
0
 def setup_path(self, real=False):
     print('*' * 50)
     print('PATH')
     print('*' * 50)
     for path in self.path:
         print(path)
     if real:
         cwutil.set_win32_all_user_env('PATH', ";".join(self.path))
Esempio n. 2
0
 def setup_path(self, real=False):
     print '*' * 50
     print 'PATH'
     print '*' * 50
     for path in self.path:
         print path
     if real:
         cwutil.set_win32_all_user_env('PATH', ";".join(self.path))
Esempio n. 3
0
 def setup_env(self, real=False):
     print('*' * 50)
     print('ENV')
     print('*' * 50)
     for e in self.env:
         print(e + ' = ' + self.env[e])
     if real:
         for e in self.env:
             cwutil.set_win32_all_user_env(e, self.env[e])
Esempio n. 4
0
 def setup_env(self, real=False):
     print '*' * 50
     print 'ENV'
     print '*' * 50
     for e in self.env:
         print e + ' = ' + self.env[e]
     if real:
         for e in self.env:
             cwutil.set_win32_all_user_env(e, self.env[e])