C# - Redirect output from a command line application

preview_player
Показать описание
This tutorial shows you how to redirect output from a command line application into a C# .net application.

See the code at:
Рекомендации по теме
Комментарии
Автор

you have no idea how much i searched for this exact video
exactly what i wanted thank you for being here

Computer-Catt
Автор

EXACTLY what I was looking Easy to understand and hear you. Thanks.

altjunk
Автор

Great Walkthrough! really helpful. Thank you

BlahzayBeta
Автор

Thanks a lot, this is exactly what i want.

MrMohsin
Автор

I know is a couple years old, but do you have any tips on how to grab the output in realtime? I was able to do a redirect, but the console application i'm running takes a bit to run and it would be useful to see the output in realtime rather than just redirecting the output when the process ends.

michaelderemer
Автор

thank you . this code help me very much

chatchaisi
Автор

After starting the CMD window is empty and there is no output. Weird behavior that I can't fix

cybermist
Автор

Cannot implicitly convert type 'string' to 'FlatUI.FlatTextBox'

hydra
Автор

Is it possible to redirect stdout and still see the stdout in the normal window ?
For example i wanna run that dir command and see it in the command window and write it to a file

sahawndada
Автор

hi im working in a project and i need some help!! i have a command line application (some.exe) i want to make a GUI version of that application, so i want to know how can i pass the info of the some.exe command line exe to the windows form in C# thanks in advance

bigbadbrad
Автор

How I can write multiple inputs and read the output one by one for each command?

DipenPatel
Автор

can you do a version that accepts multiple command line. Your version does not currently do that....

Mojoala
Автор

can we do same in python? if yes please share link

explore_it_all
Автор

You can get the code from my blog. I added a link in the description.

Also if you are having trouble with missing using directives, you can place the cursor on the invalid text and press Ctrl+. to get using directive suggestions.

JohnKoernerBlog
Автор

Are you the same dude who does The New Boston...?

alexayers