Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-6919

Puppet::Util::Windows::Process.execute should accept a working directory

    XMLWordPrintable

    Details

    • Template:
      PUP Bug Template
    • Acceptance Criteria:
      • Tests should validate cwd behaves correctly with exec on Windows
    • Epic Link:
    • Team:
      Platform OS
    • Story Points:
      3
    • Sprint:
      Platform OS Kanban
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Hide
      Puppet::Util::Execution.execute now supports a `cwd` option to specify the current working directory that the command will run in. This option is only available on the agent. It cannot be used on the master, meaning it cannot be used in, for example, regular functions, hiera backends, or report processors.
      Show
      Puppet::Util::Execution.execute now supports a `cwd` option to specify the current working directory that the command will run in. This option is only available on the agent. It cannot be used on the master, meaning it cannot be used in, for example, regular functions, hiera backends, or report processors.

      Description

      Puppet::Util::Execution.execute should take in a `cwd` option that lets the user specify the new process' working directory.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              enis.inan Enis Inan
              Reporter:
              ethan Ethan Brown
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support