Author ncoghlan
Recipients gregory.p.smith, ncoghlan
Date 2017-11-21.06:13:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm hesitant to suggest adding yet-another-option to any subprocess API, but I'm thinking it may be worth it in this case.

The idea is to make it possible to replace:

    result =, stdout=PIPE, stderr=PIPE)


    result =, capture_output=True)

That way, it would be possible for the raw stdin/stdout/stderr parameters to be treated as low level implementation details most of the time, since the most common configurations would be:

    # Use parent's stdin/stdout/stderr
    result = 
    # Use pipe for stdin, use parent's stdout/stderr
    result =, input=data)
    # Use parent's stdin, use pipe for stdout/stderr
    result =, capture_output=True) 
    # Use pipe for stdin/stdout/stderr
    result =, input=data, capture_output=True)
Date User Action Args
2017-11-21 06:13:47ncoghlansetrecipients: + ncoghlan, gregory.p.smith
2017-11-21 06:13:47ncoghlansetmessageid: <>
2017-11-21 06:13:46ncoghlanlinkissue32102 messages
2017-11-21 06:13:46ncoghlancreate