We're updating the issue view to help you get more done. 

start --console should exit if server is killed externally

Description

If you run

1 server start --console

and then you kill the server from another console, the system tray, or just nuking the process, the start command just sits there waiting for more input from the console and never stops until the user hits Ctrl-C. If the console out stream terminates from the server process, go ahead and interrupt the main thread so it can stop waiting.

This is very important for CommandBox servers running as a Windows service using the --console flag because otherwise, the service doesn't realize the actual server has stopped.

Status

Assignee

Brad Wood

Reporter

Brad Wood

Labels

None

Components

Fix versions

Priority

Major