Fixed so that if a command returns null, no output is printed to stdout.