Code

Add a return-code check (also test cmd_run without out/err buffers)