@when('we run pgcli')
def step_run_cli(context):
    context.cli = pexpect.spawnu('pgcli')
    context.exit_sent = False
Run the process using pexpect.
dataset/ETHPy150Open dbcli/pgcli/tests/features/steps/step_definitions.py/step_run_cli