made code work

This commit is contained in:
tassaron 2017-07-04 22:18:57 -04:00
parent 134779f6e6
commit ad4dc052d8
1 changed files with 2 additions and 2 deletions

View File

@ -32,11 +32,11 @@ def appendUppercase(lst):
def checkOutput(commandList, **kwargs):
_subprocess(subprocess.check_output)
return _subprocess(subprocess.check_output, commandList, **kwargs)
def openPipe(commandList, **kwargs):
_subprocess(subprocess.Popen)
return _subprocess(subprocess.Popen, commandList, **kwargs)
def _subprocess(func, commandList, **kwargs):