daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Why does P4Python not recognize P4CONFIG setting?
  2. # script0.py
  3. def main():
  4.     p4 = p4python.P4.P4()
  5.     p4.connect()
  6.     print os.environ['P4CONFIG']
  7.     print p4.p4config_file
  8.     p4.disconnect()
  9.    
  10. # script0_test.py
  11. subprocess.check_call(['script0.py'])
  12.    
  13. .p4config
  14. noconfig
  15.    
  16. .p4config
  17. /home/nyap/proj/.p4config
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top