*jb S r SSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSK r SSK r SSKrSSKJr SSKr SSKr/ SQr SSKrSr\R* S; r\( aD SSKrSSKJrJrJrJrJrJrJrJrJ r J!r!J"r"J#r#J$r$J%r%J&r&J'r'J(r(J)r)J*r*J+r+ \RY / S Q5 O*\( a SS K-J.r/ " S S5 r0O " S S5 r0SSK1r1SSK2r2 " S S\35 r4 " S S\45 r5 " S S\45 r6\( a " S S5 r7 " S S\85 r9O1\:" \1SS5 r;\<" \2S5 ( a \2Rz r>O\2R~ r>\( a Sr@S rAO/ r@S rASrBSrCSrDS rES! rFS" rGSS#.S$ jrHS% rISS#.S& jrJ " S' S(\K5 rLSSSSS).S* jrMS+ rNSSS,.S- jrOSSS,.S. jrPS/ rQ\Q" 5 rRSrS\<" \S05 rT " S1 S25 rUg! \ a Sr GNf = f! \ a Sr GNf = f)3a 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)PopenPIPESTDOUTcall check_callgetstatusoutput getoutputcheck_outputrunCalledProcessErrorDEVNULLSubprocessErrorTimeoutExpiredCompletedProcessTF> iostvoswasiwatchos emscripten)CREATE_NEW_CONSOLECREATE_NEW_PROCESS_GROUPSTD_INPUT_HANDLESTD_OUTPUT_HANDLESTD_ERROR_HANDLESW_HIDESTARTF_USESTDHANDLESSTARTF_USESHOWWINDOWSTARTF_FORCEONFEEDBACKSTARTF_FORCEOFFFEEDBACKABOVE_NORMAL_PRIORITY_CLASSBELOW_NORMAL_PRIORITY_CLASSHIGH_PRIORITY_CLASSIDLE_PRIORITY_CLASSNORMAL_PRIORITY_CLASSREALTIME_PRIORITY_CLASSCREATE_NO_WINDOWDETACHED_PROCESSCREATE_DEFAULT_ERROR_MODECREATE_BREAKAWAY_FROM_JOB)r r r r r r r r r r STARTUPINFOr! r" r# r$ r% r&