title: i am getting an error using subprocess command
body: <p>This is the python code</p>
  
  <pre><code>import subprocess
  
  cmd = "HelloWorld.c"
  # Example
  # cmd = HelloWorld.c
  print("Hey this is Python Script Running\n")
  subprocess.call(["gcc", cmd])  # For Compiling
  subprocess.call("./a.out", shell = True)
  
  # end thats all
  </code></pre>
  
  <p>This is the C code</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  
   int main()
   {
       printf("Hello World\n");
       printf("This C program Running\n");
       return 0;
   }
  </code></pre>
  
  <p>This is the Error Code.</p>
  
  <p>Hey this is Python Script Running</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:/Users/Yogi/PycharmProjects/Last_Subprocess_Try/Subprocess/Test.py", line 7, in &lt;module&gt;
      subprocess.call(["gcc", cmd])  # For Compiling
  FileNotFoundError: [WinError 2] The system cannot find the file specified
  Process finished with exit code 1
  </code></pre>