)} x d Z ddlZddlZddlZddlmZmZ ddlmZ ddl m Z ej dk rdada d dZdd ZdS )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 t | } t j d | |rdS |rt | d }||| d<