Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not use Ctrl+C #165

Open
Geson-anko opened this issue May 26, 2022 · 2 comments
Open

Can not use Ctrl+C #165

Geson-anko opened this issue May 26, 2022 · 2 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@Geson-anko
Copy link
Owner

Geson-anko commented May 26, 2022

Pythonのmultiprocessing環境でKeyboardInterrupt(Ctrl+C)を送信すると、全てのPythonインタプリタに送信されてしまい、安全に終了することができません。
代わりのキーコマンドを設定する必要があります。
#160 (comment)

Instead of Ctrl+C

  • <ctrl>+<shift>+q
  • <alt>+q

このコマンドはengine_config.tomlから変更できるようにすることが望ましいでしょう。

[commands]
[commands.keyboard]
shutdown = "<ctrl>+<shift>+q"
@Geson-anko Geson-anko added bug Something isn't working documentation Improvements or additions to documentation labels May 26, 2022
@Geson-anko
Copy link
Owner Author

#172 によってデフォルトでCtrl+Shift+qがshutdownのコマンドとなりました。

@Geson-anko
Copy link
Owner Author

#172 によって導入されたpynputが環境依存で動作が不安定なため、input()関数による待機に変更します。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant