HomePhorge

Maint: Remove duplicate path extension code
5721ab9d0effUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Maint: Remove duplicate path extension code

Previously, the Windows exec provider had incorrect logic for
resolving an executable using a hard-coded list of extensions,
e.g. '.cmd' wasn't in the list.

Recently, Puppet::Util.which was modified to perform path resolution
taking into account the PATHEXT environment variable on Windows. See
0258096c474d1b2cbf7e403fc990a853ac277231. As a result, the duplicate
logic in the Windows exec provider has been removed.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUedc721e73766: (#9636) Always set $CHILD_STATUS when executing on Windows
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU5721ab9d0eff: Maint: Remove duplicate path extension code (authored by Josh Cooper <josh@puppetlabs.com>).Oct 13 2011, 12:10 AM