先ほどは特定のアプリケーションを自動起動するバッチファイルを作成しましたが、今度は起動したアプリケーションを閉じるバッチファイルを作成しましょう。ここで使用するのは様々な条件を元に実行中のプロセスを列挙する「tasklist」コマンドと ...
taskkill is a Python library that provides utility functions for terminating processes on Windows using the taskkill command. It allows users to easily kill processes by PID, terminate processes along ...
Is there a way to do this? I want to look for a certain process, and if it is discovered then I want to send it to the taskkill command running in a loop to ensure it never comes back as long as I'm ...