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

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

    XMLWordPrintable

Details

      • Tests should validate cwd behaves correctly with exec on Windows
    • Platform OS
    • 3
    • Platform OS Kanban
    • New Feature
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support