vim-dispatch
vim-dispatch copied to clipboard
Is it possible to access the error code of a :Make or :Dispatch process.
I am trying to configure dispatch to work with my C++ workflow. If I would like to run my cpp code, ideally I would follow the following steps:
1) Build (run CMake) > 2) Make (makeprg) > 3) Run (execute the binary)
In a vim-dispatch world, this is simply:
1) :Dispatch (execute CMake) > 2) :Make > 3) :Dispatch (execute the binary)
The question is, If I would like to stop the process at stage (1) or (2) if any of those stages fail, how do I do that? Do I have access to the exit code of those stages?
Thanks.