I apologize in advance if this question already exists somewhere and has a proper answer. It is just so difficult for me to search because the keywords are all so generic.
Put simply, I want to know a way to do what one might expect this to do:
:edit !which command
This gives the following error:
E172: Only one file name allowed
because the parameters to edit are not being evaluated.
I have tried various incantations with execute, eval, and even norm but I can't make the magic work.