U
e5d� � @ s� d Z ddlZddlZddlmZmZ ddlmZ ddlm Z ddd�Z
d d
� Zddd�Zej
d
krjdadaddd�Zddd�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)�DistutilsPlatformError�DistutilsExecError)�DEBUG)�log� c C sN t | �} tjdkr"t| ||d� n(tjdkr