gpr
4/27/2018 - 11:37 AM

Exec with python

If you need to perform some action with python before executing another program

#!/usr/bin/env python3

import os

os.execvp("bash", ["-l"])