B &+S' @ s\ d Z ddlZddlZddlZddlmZmZ ddlmZ ddl m Z dddZdd d 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)log c C s t | } tt| |r dS |r@t| d }|dk r@|| d<