Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipelining of commands fails (PowerShell) #371

Open
Tracked by #505
nwagner84 opened this issue Dec 15, 2021 · 1 comment
Open
Tracked by #505

Pipelining of commands fails (PowerShell) #371

nwagner84 opened this issue Dec 15, 2021 · 1 comment
Labels
C-documentation Category: documentation help wanted Extra attention is needed P-low Priority: low
Milestone

Comments

@nwagner84
Copy link
Member

nwagner84 commented Dec 15, 2021

Pipelining of commands fails using PowerShell because the output encoding of the records written to stdout is changed by the shell. Running each command separatly and write an output file, which will be read of the second command, works fine. I already tried to change the $OutputEncoding setting to UTF-8, but this seems not to fix the problem.

Unless it is possbile to describe how to fix this issue, the documention should recommend cmd.exe instead of PowerShell.

CC: @a-wendler

@nwagner84 nwagner84 added C-documentation Category: documentation help wanted Extra attention is needed labels Dec 15, 2021
@nwagner84 nwagner84 changed the title Pipelining of commands fails using PowerShell Pipelining of commands fails (PowerShell) Dec 15, 2021
@a-wendler
Copy link
Contributor

Ich glaube es liegt daran, dass die PowerShell nicht wie stdin funktioniert: https://stackoverflow.com/questions/66245884/piping-a-string-into-a-cmd-does-not-work-in-powershell-script
Der zweite Befehl kann nicht von stdin lesen, sondern man müsste das eigens implementieren. Das dürfte bedeuten: no pica-rs in PowerShell, wenn man pipes braucht.

@nwagner84 nwagner84 mentioned this issue Oct 16, 2022
22 tasks
@nwagner84 nwagner84 added this to the v1.0.0 milestone Oct 28, 2022
@nwagner84 nwagner84 removed the C-documentation Category: documentation label Sep 15, 2023
@nwagner84 nwagner84 added C-documentation Category: documentation P-low Priority: low labels Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-documentation Category: documentation help wanted Extra attention is needed P-low Priority: low
Projects
None yet
Development

No branches or pull requests

2 participants