B
    ]t\                 @   s   d Z ddlZddlmZ eddddd d	d
dddgZeed	r`ejZejZejZej	Z	ej
Z
ndd	 Zdd Z
dZdZdZ	dS )a^  
A replacement wrapper around the subprocess module, which provides a stub
implementation of subprocess members on Google App Engine
(which are missing in subprocess).

Instead of importing subprocess, other modules should use this as follows:

from matplotlib.compat import subprocess

This module is safe to import from anywhere within matplotlib.
    N)warn_deprecatedz3.0zmatplotlib.compat.subprocessz1the python 3 standard library "subprocess" modulemodule)ZsincenameZalternativeZobj_typePopenPIPESTDOUTcheck_outputCalledProcessErrorc              O   s   t dd S )Nz!subprocess.Popen is not supported)OSError)argskwargs r   ;lib/python3.7/site-packages/matplotlib/compat/subprocess.pyr   !   s    c              O   s   t dd S )Nz(subprocess.check_output is not supported)r
   )r   r   r   r   r   r   $   s    )__doc__
subprocessZmatplotlib.cbookr   __all__hasattrr   r   r   r	   r   r   r   r   r   <module>   s$   
