Add a one time listener for exec. Fixes #8. Thanks to @sBoff!

Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>