Note
This documentation is for a development version of IPython. There may be significant differences from the latest stable release (1.2.1).
Utilities for launching kernels
Authors:
strip frontend-specific aliases and flags from an argument list
For use primarily in frontend apps that want to pass a subset of command-line arguments through to a subprocess, where frontend-specific flags and aliases should be removed from the list.
Parameters: | argv : list(str)
aliases : container of aliases (dict, list, set, etc.)
flags : container of flags (dict, list, set, etc.)
|
---|---|
Returns: | argv : list(str)
|
Build Popen command list for launching an IPython kernel.
Parameters: | code : str,
executable : str, optional (default sys.executable)
extra_arguments : list, optional
|
---|---|
Returns: | A Popen command list |
Launches a localhost kernel, binding to the specified ports.
Parameters: | cmd : Popen list,
stdin, stdout, stderr : optional (default None)
independent : bool, optional (default False)
cwd : path, optional
ipython_kernel : bool, optional
|
---|---|
Returns: | Popen instance for the kernel subprocess |