Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
utils: Add the shell=True params for the shell params
Browse files Browse the repository at this point in the history
Signed-off-by: Sayan Chowdhury <[email protected]>
  • Loading branch information
sayanchowdhury committed Dec 12, 2017
1 parent 1df64ec commit f39c64a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion fedimg/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def get_value_from_dict(_dict, *keys):


def external_run_command(command):
ret = subprocess.Popen(' '.join(command), stdin=subprocess.PIPE,
ret = subprocess.Popen(' '.join(command), stdin=subprocess.PIPE, shell=True
stdout=subprocess.PIPE, stderr=subprocess.PIPE,
close_fds=True)
out, err = ret.communicate()
Expand Down
1 change: 0 additions & 1 deletion tests/test_consumers.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

import os
import mock
import requests
import unittest

import vcr
Expand Down

0 comments on commit f39c64a

Please sign in to comment.