ok
Direktori : /opt/alt/python36/lib64/python3.6/__pycache__/ |
Current File : //opt/alt/python36/lib64/python3.6/__pycache__/subprocess.cpython-36.opt-1.pyc |
3 *j�a�� � @ s8 d Z ddlZejdkZddlZddlZddlZddlZddlZddl Z ddl Z ddlmZ G dd� de �ZG dd� de�ZG d d � d e�Zer�ddlZddlZddlZG dd� d�ZnhddlZddlZddlZyddlZW n ek r� ddlZY nX eed d�Zeed��rejZnejZddddddddddddd dgZ e�r�ddlm!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z( e j)ddddd d!d"d#dg � G d$d%� d%e*�Z+g Z,d&d'� Z-d<Z.d=Z/d>Z0d+d,� Z1d-d.� Z2dd/�d0d�Z3d1d� Z4dd/�d2d�Z5G d3d� de6�Z7ddd4d5�d6d�Z8d7d8� Z9d9d� Z:d:d� Z;e6� Z<G d;d� de6�Z=dS )?a� Subprocesses with accessible I/O streams This module allows you to spawn processes, connect to their input/output/error pipes, and obtain their return codes. For a complete description of this module see the Python documentation. Main API ======== run(...): Runs a command, waits for it to complete, then returns a CompletedProcess instance. Popen(...): A class for flexibly executing a command in a new process Constants --------- DEVNULL: Special value that indicates that os.devnull should be used PIPE: Special value that indicates a pipe should be created STDOUT: Special value that indicates that stderr should go to stdout Older API ========= call(...): Runs a command, waits for it to complete, then returns the return code. check_call(...): Same as call() but raises CalledProcessError() if return code is not 0 check_output(...): Same as check_call() but returns the contents of stdout instead of a return code getoutput(...): Runs a command in the shell, waits for it to complete, then returns the output getstatusoutput(...): Runs a command in the shell, waits for it to complete, then returns a (exitcode, output) tuple � NZwin32)� monotonicc @ s e Zd ZdS )�SubprocessErrorN)�__name__� __module__�__qualname__� r r �//opt/alt/python36/lib64/python3.6/subprocess.pyr 9 s r c @ s<