File: //usr/lib/python3.7/__pycache__/subprocess.cpython-37.pyc
B
{aN @ sL 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/e2Z3g Z4d0d1 Z5d2Z6d3Z7d4Z8d5d6 Z9d7d8 Z:dd9d:dZ;d;d Z<dd9d<dZ=G d=d de>Z?dd>dd>d?d@dZ@dAdB ZAdCd ZBdDd ZCG dEd de>ZDdS )Fa 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 /usr/lib/python3.7/subprocess.pyr 9 s r c @ s<