def _is_shell_needed_for_subprocess_calls():
 return (os.name == u'nt')

def _is_shell_needed_for_subprocess_calls ( ) : return ( os . name == u'nt' )
check if current environment needs shell for running subprocess calls .