Task action is no longer automatically wrapped in an exec. Fixes #103

Also specs for exit code handling when not wrapped in Exec.