title: Run local external python script in terminal from Vue application
body: <p>hi I am a beginner to vue js and firebase. I am building a simple GUI for a network intrusion detection system using vue js. I have written a python script that allowed me to push the output from terminal to firebase. I am currently running the app in local host:8080</p>
  
  <p>However in my vue app I want to run the local python script in terminal when I press the start button and kill the process when I press stop.</p>
  
  <blockquote>
    <p>I read online that doing it require a server. Does anyone have a good
    recommendation on how I can do it?</p>
    
    <p>I hear that it may also be easier to just use 'child_process' from
    node js but I can't use it in vue js.</p>
  </blockquote>
  
  <p>What is the best / simplest way to implement it.</p>
  
  <pre><code>&lt;template&gt;
    &lt;div id="new-packet"&gt;
      &lt;h3&gt;Start/Stop Analysis&lt;/h3&gt;
      &lt;button type="submit" class="btn"&gt;Start&lt;/button&gt;
      &lt;router-link to="/home" class="btn green"&gt;Stop&lt;/router-link&gt;
    &lt;/div&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
  export default {
    name: 'new-packet',
    data () {
      return {}
    }
  }
  &lt;/script&gt;
  </code></pre>