vcorelib.asyncio.subprocess
index
/home/vkottler/src/vkottler/workspace/vcorelib/vcorelib/asyncio/subprocess.py

A module implementing utilities for working with asyncio subprocesses.

 
Functions
       
async create_subprocess_exec_log(logger: Union[logging.Logger, logging.LoggerAdapter[Any]], program: str, *args: str, stdout: int = None, stderr: int = None, rel: Tuple[str, str] = None, **kwargs) -> asyncio.subprocess.Process
Create a subprocess and log information about the created process.
Reconcile subtle platform differences in running simple commands.
log_process_info(program: str, *args: str, base: Union[pathlib.Path, str, NoneType] = None) -> Tuple[str, str]
Get a relative-path program string and a space-delimeted string of the
arguments, which have also been shortened against a possible relative path.

 
Data
        LoggerType = typing.Union[logging.Logger, logging.LoggerAdapter[typing.Any]]