def uni_check_output(*args, **kwargs):
 o = subprocess.check_output(*args, **kwargs)
 return o.decode('utf-8')

def uni_check_output ( * args , ** kwargs ) : o = subprocess . check_output ( * args , ** kwargs ) return o . decode ( 'utf-8' )
run command and return output as unicode .