結果 : python wait for subprocess to finish