Skip to content

Instantly share code, notes, and snippets.

@davydany
Created June 5, 2017 16:55
Show Gist options
  • Save davydany/a4eb3578ded067ba835d51bf9d14482c to your computer and use it in GitHub Desktop.
Save davydany/a4eb3578ded067ba835d51bf9d14482c to your computer and use it in GitHub Desktop.
Sultan - Using 'env' for environment variables
from sultan.api import Sultan
with Sultan.load(env={ 'HOME': '/tmp' }) as s:
print s.echo("${HOME}").run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment