Fixed missing parent shell.
Print program result.