Skip to content

feat(pipeline): Add pipeline input support for all WinuxCmd commands - #7

Merged
caomengxuan666 merged 1 commit into
mainfrom
develop
Feb 14, 2026
Merged

caomengxuan666 merged 1 commit into
mainfrom
develop

Conversation

@caomengxuan666

@caomengxuan666 caomengxuan666 commented Feb 14, 2026 •

Copy link
Copy Markdown
Member
  • Implement pipeline input handling in PowerShell wrapper functions
  • Add [Parameter(ValueFromPipeline)] attribute to receive pipeline objects
  • Fix parameter binding conflict between ValueFromPipeline and ValueFromRemainingArguments
  • Use Position=0 for pattern-based commands (grep, sed) to resolve binding issues
  • Configure ProcessStartInfo for stdin/stdout redirection with UTF8 encoding
  • Optimize string concatenation to minimize performance overhead
  • Maintain sub-20ms performance with pipeline support (21.3ms avg for grep)

- Implement pipeline input handling in PowerShell wrapper function
- Add [Parameter(ValueFromPipeline)] attribute to receive pipeline objects
- Configure ProcessStartInfo for proper stdin/stdout redirection
- Set UTF8 encoding for cross-platform compatibility
- Optimize string concatenation for parameter building
- Maintain sub-20ms performance with pipeline support (21.3ms avg)
@caomengxuan666 caomengxuan666 changed the title feat(pipeline): Add PowerShell pipeline input support for grep command feat(pipeline): Add pipeline input support for all WinuxCmd commands Feb 14, 2026
@caomengxuan666
caomengxuan666 merged commit f3a2443 into main Feb 14, 2026
7 checks passed
caomengxuan666 added a commit that referenced this pull request Mar 24, 2026
feat(pipeline): Add pipeline input support for all WinuxCmd commands
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant