Run the shell tool with the given connection and command line settings.
The connection will be closed when the shell exits.
This is primary used to integrate the Shell into another application.
Note: using the "-url" option in {@code args} doesn't make much sense
since it will override the {@code conn} parameter.