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

CreateProcess wrapper's error message is bad

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 1.4.0
    • stout
    • Windows 10

    Description

      In stout/os/windows/shell.hpp: Try<ProcessData> create_process(...) wrapper:

      We have an `arg_string` and an `arg_buffer` because of oddities of `CreateProcessW`. But when composing the error message we need to use the string, not the buffer. Otherwise stringify kindly outputs a massive array of bytes. Currently by mistake we use the buffer, probably due to a renaming refactor I did.

      Attachments

        Activity

          People

            andschwa Andrew Schwartzmeyer
            andschwa Andrew Schwartzmeyer
            Joseph Wu Joseph Wu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: