Agreed, I pass food trucks most days and from what I've seen they either use a small external generator or have built-in generators that they run while serving. I'm pretty sure I've never seen one that runs their "main" engine.
So, saying that only the generator is running isn't a very effective way to argue that these trucks are low-polluting.