Fixes a regression caused by splitting the input and output of console commands.