AlkantarClanX12
Current Path : /opt/alt/python37/lib64/python3.7/__pycache__/ |
Current File : //opt/alt/python37/lib64/python3.7/__pycache__/subprocess.cpython-37.opt-1.pyc |
B � f� � @ s` d Z ddlZejdkZddlZddlZddlZddlZddlZddl Z ddl Z ddlmZ G dd� de �ZG dd� de�ZG d d � d e�Zer�ddlZddlZddlZG dd� d�ZnDddlZddlZddlZddlZeed d�Zeed�r�ejZnejZddddddddddddd dgZe�r�ddlmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0 e�1ddddd d!d"d#dd$d%d&d'd(d)d*d+d,d-g� G d.d/� d/e2�Z3e�r�dZ4d0d1� Z5ng Z4d2d1� Z5d3Z6d4Z7d5Z8d6d7� Z9d8d9� Z:dd:�d;d�Z;d<d� Z<dd:�d=d�Z=G d>d� de>�Z?dd?dd?d@�dAd�Z@dBdC� ZAdDd� ZBdEd� ZCG dFd� de>�ZDdS )Ga� 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/python37/lib64/python3.7/subprocess.pyr 9 s r c @ s<