Increase the column width when redirecting the output to a another process using the ProcessStartInfo #1389
Unanswered
inoa-ssousa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, i have a CLI tool that prints some columns when calling a specific command from the terminal. The column width fits all values exactly the way we expected. But, we need to call this CLI tool from a another C# program using Process and ProcessStartInfo. The problem is, when calling the process and redirecting the output, the column width does not fit the values and we have cropped columns, something like this:
When calling from within the C# program:
When calling from the terminal:
I tried to setting the Width, Overflow and Expand properties on both GridColumn and Column, but i can't understand why it does not affected the first case. Is there another way ? Or this size is fixed ?
Beta Was this translation helpful? Give feedback.
All reactions