Python: A very good Popen usage to execute command

This function allow you to execute a command or piped commands using subprocess Popen. It allows you to use shell or non-shell (for better security) to execute.

Leave a Reply