paths with spaces need to be escaped

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When paths are given in the api, they should be escaped if necessary.

      For example:
      props = Properties()
      props["pegasus.catalog.replica.file"] = str(TOP_DIR / "replicas.yml")
      props.write()

      would cause a planner error if the path given was "/path/Untitled Directory/replicas.yml"

      Possible solution:
      import shlex
      shlex.quote( "a b" )

            Assignee:
            Rajiv Mayani
            Reporter:
            Ryan Tanaka [X] (Inactive)
            Archiver:
            Rajiv Mayani

              Created:
              Updated:
              Resolved:
              Archived: