Skip to content

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

Open
@jandamm

Description

@jandamm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions