Created
June 5, 2017 16:55
-
-
Save davydany/a4eb3578ded067ba835d51bf9d14482c to your computer and use it in GitHub Desktop.
Sultan - Using 'env' for environment variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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