Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はbottle.pyを初めて使いました。 問題が発生しましrun(reloader=True) た。サーバーを停止する方法はありますか? ヒットctr+cしてもサーバーは停止しませんでした。 ちなみにLinuxです
run(reloader=True)
ctr+c
Linux では、プロセスを強制終了できます。
それを見つける:
ps -ef|grep python
そして、プロセスの行の最初の番号を使用してプロセスを強制終了します。
sudo kill 99999
これはUbuntu用です。
再起動するとポートが表示される可能性がin useあり、それはstackoverflowで解決されましたが、どこにあるか覚えていないので、探す必要があります。
in use