I might be missing the obvious, but I don't think the subprocess module has a method that will capture the standard output, standard error, and the exit code of a subprocess in a single call. It is ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する