#NEWLINE# def process( commands , callback = None , stdin = None , settings = None , working_dir = None , wait_for_completion = None , **kwargs ) : #NEWLINE# #INDENT# if ( callback is None ) : #NEWLINE# #INDENT# return _process ( commands , stdin = stdin , settings = settings , working_dir = working_dir , wait_for_completion = wait_for_completion , ** kwargs ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# thread = threading . Thread ( target = _process , kwargs = { #NEWLINE# #INDENT# 'commands' : commands , #NEWLINE# 'callback' : callback , #NEWLINE# 'stdin' : stdin , #NEWLINE# 'settings' : settings , #NEWLINE# 'working_dir' : working_dir , #NEWLINE# 'wait_for_completion' : wait_for_completion , #NEWLINE# #UNINDENT# } ) #NEWLINE# thread . start ( )