Your IP : 3.21.44.115
�
�Q�f�Z � � � d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl
Z
ddlZddlmZ
ddlZ ddlZg d�Z ddlZdZej* dvZer@ddlZddlmZmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z) ejU g d �� nYerCdd
l+m,Z- ej\ Z/ej` Z1ejd Z3ejh Z5ejl Z7ndZ-dZ/dZ1dZ3dZ5dZ7ddl8Z8ddl9Z9 G d� de:� Z; G d
� de;� Z< G d� de;� Z=er G d� d� Z> G d� de?� Z@n, eAe8dd� ZB eCe9d� r
e9j� ZEne9j� ZEerdZGd� ZHng ZGd� ZHdZIdZJdZKd� ZLd� ZMd� ZNdd �d!�ZOd"� ZPdd �d#�ZQ G d$� d%eR� ZSddddd&�d'�ZTd(� ZUddd)�d*�ZVddd)�d+�ZWd,� ZX eX� ZYdZZ G d-� d.� Z[y# e$ r dZY ���w xY w# e$ r dZY ���w xY w)/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
� N)� monotonic)�Popen�PIPE�STDOUT�call�
check_call�getstatusoutput� getoutput�check_output�run�CalledProcessError�DEVNULL�SubprocessError�TimeoutExpired�CompletedProcessTF> �wasi�
emscripten)�CREATE_NEW_CONSOLE�CREATE_NEW_PROCESS_GROUP�STD_INPUT_HANDLE�STD_OUTPUT_HANDLE�STD_ERROR_HANDLE�SW_HIDE�STARTF_USESTDHANDLES�STARTF_USESHOWWINDOW�ABOVE_NORMAL_PRIORITY_CLASS�BELOW_NORMAL_PRIORITY_CLASS�HIGH_PRIORITY_CLASS�IDLE_PRIORITY_CLASS�NORMAL_PRIORITY_CLASS�REALTIME_PRIORITY_CLASS�CREATE_NO_WINDOW�DETACHED_PROCESS�CREATE_DEFAULT_ERROR_MODE�CREATE_BREAKAWAY_FROM_JOB)r r r r r r r r �STARTUPINFOr r r r r r! r"