Return actual exit code of server process from server start

Description

This only applies to --debug, --console, and command-mode starts since they wait for the server process to complete the start. Just running 'start' from the CommandBox interactive shells runs an async start.

This is important so OS services trying to start up a server will correctly report failures to start (such as invalid JVM args) since the previous behavior was that the start command always 'succeeded'.

In order for the start command to work as expected, the server spawner process on Linux also need modified to return the proper exit code of the process spawned by nohup so the start command can "see" it.

Status

Assignee

Brad Wood

Reporter

Brad Wood

Labels

None

Fix versions

Priority

Major