o
0i�
� @ sX d Z ddlZddlZddlZddlmZ ddlmZ ddlm Z ddd�Z
dd d
�ZdS )
z�distutils.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)�DistutilsExecError)�DEBUG)�log� c
C s t | �} t�t�| �� |rdS |r t| d �}|dur || d<