Will python.subprocess(cppBinaryExe) compromise cppBinaryExe's performance?
Question: i am quite new to python.subprocess()

if i folk a new process from python, will the execution speed of this new
process be compromised?

imagine that i have the

    
    
    #python 
    import subprocess
    subprocess.call( MyBinary )
    

basically, is there any difference between

    
    
    ./MyBinary
    

and

    
    
    ./python ruMyBinary.py
    

?


Answer: No. A separate process is a separate process. It competes for OS resources
with all other processes "fairly".

Your python process that simply does `subprocess.call` is a process, and does
consume some system resources. But relatively few, since it will be waiting
for a system call to finish. It will occupy a slot in the process table, so it
does have a microscopic impact.

