title: How to create a GUI to send commands and args to a command-line application?
body: <p>Me and my family use a command line application frequently. It gets tedious because sometimes the amount of chars entered can be a lot. My son asked me if it is possible to make it like a normal program. (He's 10, doesn't even know what a VCR or a touch-tone phone is lol.) Anyhow, I told him that someone would have to write a program for it. He say's he wants to. (I'm thinking I know who's going to take care of me and my wife in the future... lol j/k...) This will be a learning experience for both of us.</p>
  
  <p>So, let's begin his career!</p>
  
  <p>I'm not looking for someone to write the whole thing for us. We just need a good start.</p>
  
  <p>How can we create a GUI for a command-line exe? (The exe is open source and is written in python but for now we'll stick with passing cmd's to the exe and reading its output.)</p>
  
  <p>So we are looking for:</p>
  
  <blockquote>
    <p>a textbox for our input, a few radio buttons for args, submit button and a clear button. I guess there should be a place to define the path to the exe. </p>
  </blockquote>
  
  <pre><code>Syntax: command --argument-abc --argument-xyz &lt;textbox-data&gt;
  
  If no options are selected it should default to: command &lt;textbox-data&gt;
  The 3 options we basically are starting with are: This way, That way or both
  </code></pre>
  
  <blockquote>
    <p>It should show the console output live as its running.</p>
  </blockquote>
  
  <p>Here is a SS of where we want to start.
  <a href="https://photos.app.goo.gl/1o6AvZFnNw5vr6757" rel="nofollow noreferrer" title="SS of our preliminary design">Preliminary Layout</a></p>
  
  <p>Down the road we will package it together but I think this should be a good start to get us going. The exe has hundreds of different args that will be added over time on an options tab or what not.</p>
  
  <p>We are using Microsoft Visual Studio 2017</p>
  
  <p>Sorry for the rambling.</p>
  
  <p>Oh and one last thing. Please point us to some good articles, how-to's, or anything that you think will help us learn what we need for this.</p>