Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29280

[REG] Locator: Execute filter escapes && in commands

    XMLWordPrintable

Details

    • Linux/Wayland
    • 6c34e1937 (11.0)

    Description

      I use the locator execute filter to fetch patches from gerrit. These commands look like this:

      git fetch project refs/changes/xxx && git checkout FETCH_HEAD
      

      In Creator, I type Ctrl+K ! Ctrl+V Enter since years and that always worked.

      With 11.0-beta1 this stopped working. It seems the && is now escaped.

      Example:

      Ctrl+K ! echo this && echo that
      

      now gives

      Starting command "echo this '&&' echo that".
      this && echo that
      
      The command "echo this '&&' echo that" finished successfully.
      

      but in former versions that was

      Starting command "echo this && echo that".
      this
      that
      
      The command "echo this && echo that" finished successfully.
      

      Attachments

        1. creator-10.0.png
          creator-10.0.png
          17 kB
        2. screenshot-1.png
          screenshot-1.png
          19 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            madwinter Marcus Tillmanns
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes