Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-10093

Libprocess does not properly escape subprocess argument strings on Windows

    XMLWordPrintableJSON

Details

    • Studio 1: RI-24 65, Studio 1: RI-23 66, Studio 1: RI-23 67, Studio 1: RI-23 68
    • 2

    Description

      When running some tests of Mesos on Windows, I discovered that the following command would not execute successfully when passed to the Docker containerizer in TaskInfo.command:

      python -c "print('hello world')"
      

      The following error is found in the task sandbox:

        File "<string>", line 1
          "print('hello
                      ^
      SyntaxError: EOL while scanning string literal
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            greggomann Greg Mann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: