0

I have to run a C program by my Python script. I have already compiled the C program and I need to call it from Python to execute it.

I've used the subprocess.Popen class to do so, but I'm getting the following issue: 'No such file or directory': /path/to/my/bin/./mybin. Does anyone know what I'am doing wrong? Thank you in advance

   import subprocess
   subprocess.Popen("/path/to/my/bin/./mybin")

0 Answers0