GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Add -LiteralPath parameter to Start-ThreadJob for cross-platform path handling · Issue #56 · PowerShell/ThreadJob Open Labels enhancementNew feature or requestNew feature or request DescriptionSummary of the new feature / enhancementSummary
ProblemPowerShell is now cross-platform, and characters traditionally used as wildcards (
Current Behavior
Start-ThreadJob -FilePath "path/to/script.ps1" The if (WildcardPattern.ContainsWildcardCharacters(filePath)) { throw new ArgumentException("FilePath cannot contain wildcards."); } Proposed technical implementation details (optional)Proposed SolutionAdd a
Example usage: # For a file literally named "test[1].ps1" on Linux Start-ThreadJob -LiteralPath "/home/user/scripts/test[1].ps1" # With aliases Start-ThreadJob -PSPath "/home/user/scripts/test[1].ps1" Start-ThreadJob -LP "/home/user/scripts/test[1].ps1" Reacted by Mike Campbell Activity
MetadataMetadataAssigneesLabelsenhancementNew feature or requestNew feature or request TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |