title: How to pass in image to C++ executable and store output image in a new directory?
body: <p>I'm trying to write a program in python wrapper for a C++ executable. The executable takes in an image and returns an edited image. I've looked into using subprocess.run, in this way:</p>
  
  <pre><code>output_img = subprocess.run(["executable","argument"], shell=True)
  </code></pre>
  
  <p>However, this gives me the error of "executable: command not found." Also, the executable file does not have .exe at the end, and I'm not sure why because it was given to me by someone else. </p>
  
  <p>I simply want to run an image through this executable and take the output image and store it into a new folder. Any ideas how to make this work? Thanks!</p>