"""
Auto-generated Python stub file from subprocess.py
Module: subprocess
"""


import t, c
from stdint import *
import platmacro
import memhub
import string
import w32.win32base
import w32.win32file
import w32.win32process
import w32.win32sync
import posix

OUTPUT_BUF_SIZE: t.CDefine = 65536
_mbuddy: t.CExtern | memhub.MemBuddy | t.CPtr

class CompletedProcess:
    args: str
    returncode: int
    stdout: str
    stderr: str
    def __new__(self: CompletedProcess, args: str, returncode: int, stdout: str, stderr: str) -> t.CPtr: pass
    def __init__(self: CompletedProcess, args: str, returncode: int, stdout: str, stderr: str) -> t.CInt: pass

def run(args: str, capture_output: bool, text: bool) -> CompletedProcess | t.CPtr: pass

def _run_win32(args: str, capture_output: bool, text: bool) -> CompletedProcess | t.CPtr: pass

def _run_posix(args: str, capture_output: bool, text: bool) -> CompletedProcess | t.CPtr: pass
