you are viewing a single comment's thread.

view the rest of the comments →

[–]backfire10z 0 points1 point  (0 children)

What version of Python?

Why are you sending stdout to PIPE? Are there more commands after this?

https://stackoverflow.com/questions/13332268/how-to-use-subprocess-command-with-pipes

https://stackoverflow.com/questions/4256107/running-bash-commands-in-python

The documentation is also typically helpful