Launch prog from cli, also exit cleanly