Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for dir in dirs:
- #run command on the directory here.
- process = subprocess.Popen(["your_cmd"]...)
- process.wait()
- subprocess.check_output( ... )
- subprocess.Popen(...).communicate()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement