Skip to content

[要望?]CTRL-Cの動作について #8

Description

@kazamachi

araiです。ennouの起動コマンドを
[full path]ruby.exe -C[full path]\bin [full path]\bundle exec [full path]\rackup -p 80 -E production -s Ennou [full path]\config.ru
としてコマンドラインから起動して、CTRL+Cをタイプすると「バッチファイルを終了しますか?」となります。
NougakudoLauncher.exe で上記コマンドで起動して、GenerateConsoleCtrlEvent APIでCTRL+Cをエミュレートすると
[2012-09-03 14:49:55] INFO Ennou(1.1.5) stop service for http://+:80/nougakudo132s pid=11708
プロセスが、存在しないパイプに書き込もうとしました。
となります。
実害はないのですが、これって避けられない挙動なのでしょうか?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions