A minimal application base mixin for all ZMQ based IPython frontends.
This is not a complete console app, as subprocess will not be able to receive input, there is no real readline support, among other limitations. This is a refactoring of what used to be the IPython/qt/console/qtconsoleapp.py
build argv to be passed to kernel subprocess
find the connection file, and load the info if found.
The current working directory and the current profile’s security directory will be searched for the file if it is not given by absolute path.
When attempting to connect to an existing kernel and the –existing argument does not match an existing file, it will be interpreted as a fileglob, and the matching file in the current profile’s security dir with the latest access time will be used.
After this method is called, self.connection_file contains the full path to the connection file, never just its name.
set up ssh tunnels, if needed.
alias of KernelManager
load ip/port/hmac config from JSON connection file