Starts the BashProcessManager and WebSocket server on the specified port.
Returns an object containing the server and manager instances, plus a shutdown function.
Parameters
port: number = 8080
The port number for the WebSocket server (default 8080).
Starts the BashProcessManager and WebSocket server on the specified port. Returns an object containing the server and manager instances, plus a shutdown function.