this might be cleaner as a lambda  preexec fn lambda  subprocess setup preexec fn oh  but silly pep will whinge at you about using lambda for their purpose  we should kill that rule globally  it is harmful 