Ahh, yes, that for the clarification.


On Thu, Mar 13, 2014 at 8:56 PM, Min RK <notifications@github.com> wrote:

> In IPython/testing/iptestcontroller.py:
>
> > -        self.server_port = q.get()
> > +        self.server_command = command = [sys.executable,
> > +            '-m', 'IPython.html',
> > +            '--no-browser',
> > +            '--ipython-dir', self.ipydir.name,
> > +            '--notebook-dir', self.nbdir.name,
> > +        ]
> > +        # ipc doesn't work on Windows, and darwin has crazy-long temp paths,
> > +        # which run afoul of ipc's maximum path length.
> > +        if sys.platform.startswith('linux'):
> > +            command.append('--KernelManager.transport=ipc')
> > +        self.stream_capturer = c = StreamCapturer()
> > +        c.start()
> > +        self.server = subprocess.Popen(command, stdout=c.writefd, stderr=subprocess.STDOUT)
> > +        self.server_info_file = os.path.join(self.ipydir.name,
> > +            'profile_default', 'security', 'nbserver-%i.json' % self.server.pid
>
> it's always profile_default, but it's never the user's actual profile.
> IPYTHONDIR is always a newly created temp dir.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/ipython/ipython/pull/5339/files#r10595937>
> .
>



-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger@calpoly.edu and ellisonbg@gmail.com