Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-20722

Unable to pass option value with spaces in them to ecl run

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.12
    • Component/s: ecl command
    • Labels:
      None

      Description

      I want to pass a #option value via the command like with -f , where the value had spaces in it.
      But it seems the argument processing breaks the quoted strings at spaces, treating them as multiple arguments.

      e.g.

      $ ecl run -g --cluster=thor -fsaveCppTempFiles=1 -fapplyInstantEclTransformations -fapplyInstantEclTransformationsLimit=100 '-ftestopt=hello there' t.ecl
      Error: File 'there' does not exist
      

        Attachments

          Activity

            People

            • Assignee:
              afishbeck Anthony Fishbeck
              Reporter:
              jakesmith Jake Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: