I am writing a utility for Minecraft Coder pack. It works off batch files that run python. Is it possible to read and write from the cmd into say a text box and run commands for vb.net to the cmd?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes. See my answer here: Opening a plink window from VB.NET application without showing the black ugly plink window
Basically, you want to hide the window, and redirect standard in/out.
You can then read and write using
p.StandardInputandp.StandardOutput.You can find more options to set as well in the ProcessStartInfo class.