vim-dispatch icon indicating copy to clipboard operation
vim-dispatch copied to clipboard

Is it possible to access the error code of a :Make or :Dispatch process.

Open symbolix opened this issue 8 years ago • 0 comments

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.

symbolix avatar May 14 '16 15:05 symbolix