ide: set IDE_TFLAG_IN_* flags before queuing/executing command