SHARE
TWEET

Untitled

a guest Jun 25th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import subprocess
  2.  
  3. try:
  4.     my_env = {}
  5.     my_env["DYLD_LIBRARY_PATH"] = "/Users/acreskey/.mozbuild/browsertime/ImageMagick-7.0.8/lib"
  6.     my_env["PATH"] = "/Users/acreskey/.mozbuild/browsertime/ImageMagick-7.0.8/bin"
  7.     print(my_env)
  8.     out = subprocess.check_output('compare', stderr=subprocess.STDOUT, env=my_env, shell=True)
  9. except BaseException as e:
  10.     print(e.output)
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