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

Make is not working correctly when pipe (|) is in makeprg

Open jandamm opened this issue 5 years ago • 0 comments

Steps to reproduce:

setlocal makeprg=sleep\ 1\ \\\|\ echo\ try
make

Now the compiler takes 1 second and echoes try

setlocal makeprg=sleep\ 1\ \\\|\ echo\ try
Make
|| sleep: invalid time interval ‘|’
|| sleep: invalid time interval ‘echo’
|| sleep: invalid time interval ‘try’
|| Try 'sleep --help' for more information.

If I use makeprg=sleep\ 1\ \|\ echo\ try, Make works fine but make does not.

jandamm avatar Aug 11 '20 09:08 jandamm