OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] "Deprecation" of os.system in favor of subprocess?


Thanks for asking a question that triggered an enlightening discussion!


On 10/25/2018 5:13 PM, Stephane Wirtel wrote:
> Hi all,
>
> After your feedback, I have my answer.
>
> I understand the your points of view and I don't want to change any part
> of code for os.system and subprocess, I don't want to deprecate
> os.system in favor of subprocess. I just wanted to know your opinion
> about this point.
>
> +1 to use os.system when we only need a call without portability, just a
> quick code.
>
> +1 for subprocess for the portability.
>
> Thank you so much for your patience/time and your explanations.
>
> St?phane