Skip to content
Verified Commit f93fb4c1 authored by Juliana Oliveira's avatar Juliana Oliveira Committed by Mattia Rizzolo
Browse files

{command, feeders, diff}: replaces subprocess.Popen by .run



Popen requires thread/IO micromanaging, and locks some interactions
with multiprocess lib due to its combined behavior with subprocess.PIPE, being
unusable with .map function. Subprocess.run simplifies command execution
by managing threads/IO and is also recommended over Popen since Python
3.5.

As a result, stderr and stdout were also simplified.

Signed-off-by: default avatarJuliana Oliveira <juliana.orod@gmail.com>
Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 7b8998e5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment