o 0i4 @ sn d Z ddlZddlZddlZddlmZmZ ddlmZ ddl m Z ejdkr+dada ddd Zd d dZdS )zdistutils.spawn Provides the 'spawn()' function, a front-end to various platform- specific functions for launching another program in a sub-process. Also provides the 'find_executable()' to search the path for a given executable name. N)DistutilsPlatformErrorDistutilsExecError)DEBUG)logdarwin c C sz t | } td| |rdS |r t| d }|dur || d<