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

Libprocess does not properly escape subprocess argument strings on Windows

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            greggomann Greg Mann

            Dates

              Created:
              Updated:

              Agile

                Active Sprint:
                Studio 1: RI-23 68 ends 25/Mar/20
                Completed Sprints:
                Studio 1: RI-24 65 ended 12/Feb/20
                Studio 1: RI-23 66 ended 26/Feb/20
                Studio 1: RI-23 67 ended 11/Mar/20
                View on Board

                Slack

                  Issue deployment