diff --git a/notebook/notebookapp.py b/notebook/notebookapp.py index d58cfb7fa..cf980d57b 100755 --- a/notebook/notebookapp.py +++ b/notebook/notebookapp.py @@ -1330,7 +1330,7 @@ def list_running_servers(runtime_dir=None): else: # If the process has died, try to delete its info file try: - os.unlink(file) + os.unlink(os.path.join(runtime_dir, file)) except OSError: pass # TODO: This should warn or log or something #-----------------------------------------------------------------------------