B
Sj @ s` d Z ddlZejdkZddlZddlZddlZddlZddlZddl Z ddl
Z
ddlmZ G dd de
ZG dd deZG d d
d
eZerddlZddlZddlZG dd dZnDddlZddlZddlZddlZeed
dZeedrejZnejZddddddddddddd
dgZerddlmZm 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 e1ddddd d!d"d#dd$d%d&d'd(d)d*d+d,d-g G d.d/ d/e2Z3erdZ4d0d1 Z5ng Z4d2d1 Z5d3Z6d4Z7d5Z8d6d7 Z9d8d9 Z:dd:d;dZ;d<d Z<dd:d=dZ=G d>d de>Z?dd?dd?d@dAdZ@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<