Environment Management (functional_harness/env.py)¶
Assorted context managers for setting up the test environment
- background_proc(argv, verbose=False, *args, **kwargs)[source]¶
Context manager for scoping the lifetime of a
subprocess.Popencall- Parameters:
argv – The command to be executed
verbose – If
False, redirect the X server’sstdoutandstderrto/dev/nullargs (
Any) – Positional arguments to pass tosubprocess.Popenkwargs (
Any) – Keyword arguments to pass tosubprocess.Popen
- Return type:


Install Dependencies