Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- # coding=utf-8
- import os
- import tempfile
- from subprocess import call
- def main():
- os.environ["TMPDIR"] = "/home/far/tmp"
- print(tempfile.gettempdir())
- call(["bash", "script.sh"])
- if __name__ == "__main__":
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement