[Core] handle a space after the command character