Correct, you need to call bbedit with a `-w` flag to cause the CLI shim to wait for the GUI app to close before exiting.