問題タブ [aria2]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
python - Kill only a subprocess created by python on CMD
I have made a python script which downloads using aria2 downloader by running a shell command which can work on Windows and Linux.
#xA;Now, I want to test my program for the situation when file could not be downloaded. So, after executing the 'python downloader.py' on command-prompt (cmd.exe) Windows, I press Ctrl+C to stop only the download ('aria2c.exe' process only) but keep running my python code.
Doing this on Ubuntu terminal works fine! But on cmd windows, Ctrl+C stops 'aria2c.exe' process but also stops my python code. I want to know I can achieve this on command prompt?
If you need to know, this is what shows up on cmd:
#xA;linux - aria2cは結果テーブルを出力しません
を使用してファイルをダウンロードしていますaria2c
。「プログレスバー」だけを表示したい。
私が持っていたいものはこれです。
それを行う方法はありますか、それともプログラムを再コンパイルする必要がありますか? 前もって感謝します!