stdout will already be closed.