Open sandy081 opened 1 month ago
We would have to give up awaiting the response of executing commands for this to work. We do not want to give that up so this is not possible to solve on the commander side. The only way to support this is to make a change in vscode
itself.
We do not want to give that up
But why?
Because there are commands which return information which the commander can use. Also, when a command fails, it allows us to catch the error and commander can recover from that, I've seen this multiple times
Probably we should have a timeout if a command takes ever to finish?
Some command invocations are not required to be waited, for eg., if I ask to open a folder or open window with a different profile or asking to change the theme. These commands open file dialogs or new windows. They should be just invoked and commander should end.
If you cancel the folder dialog when asked to open a folder, the commander is still running.