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