And another comparisons to singletons..

This commit is contained in:
deix
2017-08-28 19:13:25 +02:00
parent 383d09ff29
commit 3fe4e1fd25

View File

@@ -58,7 +58,7 @@ class Process(object):
def __init__(self, command, devnull=False, stdout=PIPE, stderr=PIPE, cwd=None, bufsize=0): def __init__(self, command, devnull=False, stdout=PIPE, stderr=PIPE, cwd=None, bufsize=0):
''' Starts executing command ''' ''' Starts executing command '''
if type(command) == str: if type(command) is str:
# Commands have to be a list # Commands have to be a list
command = command.split(' ') command = command.split(' ')