##// END OF EJS Templates
Search for first existing directory, if cwd doesn't exist....
Search for first existing directory, if cwd doesn't exist. When starting an ipython application in a directory, that doens't exist, search for first existing directory upwards instead of crashing. See bug: https://bugzilla.redhat.com/show_bug.cgi?id=593115

File last commit:

r3673:b9f54806
r10154:3ad11ddb
Show More
ipcontroller
18 lines | 656 B | text/plain | TextLexer
#!/usr/bin/env python
# encoding: utf-8
#-----------------------------------------------------------------------------
# Copyright (C) 2008-2009 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
from IPython.parallel.apps.ipcontrollerapp import launch_new_instance
launch_new_instance()