Skip to content

Commit

Permalink
WIP.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhadfield committed Aug 20, 2016
1 parent c7cba81 commit 2fd9d0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/creds/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def check_platform():

def execute_command(command=None):
print(command)
print(" ".join(command))
print()
"""Execute a command and return the stdout and stderr."""
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
return process.communicate()
Expand Down

0 comments on commit 2fd9d0d

Please sign in to comment.