beam/examples/beamsh: exec and listen commands