こんにちは。 野中やすおです。 タイトルにある通り、PythonのsubprocessモジュールのPopen(ぴーおーぷん、と読むらしいです)クラスがreturncodeがゼロ以外の場合に例外を発生させるエラーハンドリング処理を実装しようとしていたのですが、subprocess.Popenがどう ...
自分は最近PowerPointを操作するアプリを作った際に、 PowerPointの操作はC#プログラムで、 PowerPoint操作以外の部分はPythonで という感じでアプリを作った際にsubprocessを使いました。 Pythonでsubprocessを使って、C#で作ったプログラム.exeに対してコマンドライン引数 ...
A side-effect of no longer propagating import paths using the PYTHONPATH envvar is that subprocesses don't inherit the paths. This is usually a good thing, but ends up breaking plain calls to python ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する