etr  4.0-pre
Classes | Functions | Variables
etr.tools.subprocess Namespace Reference

Classes

class  SignalContextManager
 Provides a context manager to be able to captue signals and forward them to a subprocess within a context manager scope. More...
 
class  KillOrphansContextManager
 Use instead of popen to perform cleanup of orphan subprocesses. More...
 

Functions

def cmd_and_log (List[str] command, *Optional[bool] kill_orphans=None, Optional[Callable[[str], None]] line_handler=None, Optional[bool] script_file=None, **kwargs)
 Runs command and logs to line_handler. More...
 

Variables

string TEMPLATE
 

Variable Documentation

◆ TEMPLATE

string etr.tools.subprocess.TEMPLATE