You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unexpected behavior in command execution when two files have the same basename. #2095
Committee-ReviewedPS-Committee has reviewed this and made a decisionIssue-BugIssue has been identified as a bug in the productIssue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-FixedThe issue is fixed.WG-Enginecore PowerShell engine, interpreter, and runtime
As far as the bug is concerned, that's definitely a problem, but I believe anything we do here is a breaking change that would need to be discussed. /cc @PowerShell/powershell-committee
This essentially comes down to the ordering of the paths here, which Jason Shirk (@lzybkr), James Truher (@JamesWTruher), and I discussed but I guess came to the wrong conclusion. At least now, I totally agree that foo should be ordered before foo.ps1 (and it before foo.*).
@PowerShell/powershell-committee reviewed this and since there is no extension (unlike Windows) to explicitly call the exe, we should make the change to call the native command first before the script
Committee-ReviewedPS-Committee has reviewed this and made a decisionIssue-BugIssue has been identified as a bug in the productIssue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-FixedThe issue is fixed.WG-Enginecore PowerShell engine, interpreter, and runtime
Activity
joeyaiello commentedon Sep 6, 2016
Heads-up, I edited your comment to wrap
$PSVersionTablein a code block.joeyaiello commentedon Sep 6, 2016
As far as the bug is concerned, that's definitely a problem, but I believe anything we do here is a breaking change that would need to be discussed. /cc @PowerShell/powershell-committee
nocentino commentedon Sep 6, 2016
Cool, however I can help please let me know.
andyleejordan commentedon Sep 19, 2016
This essentially comes down to the ordering of the paths here, which Jason Shirk (@lzybkr), James Truher (@JamesWTruher), and I discussed but I guess came to the wrong conclusion. At least now, I totally agree that
fooshould be ordered beforefoo.ps1(and it beforefoo.*).SteveL-MSFT commentedon Nov 2, 2016
@PowerShell/powershell-committee reviewed this and since there is no extension (unlike Windows) to explicitly call the exe, we should make the change to call the native command first before the script