code: def get_notebook_daemon_command(self, name, action, port=0, *extra):
          
  
          return [self.python, self.cmd, action, self.get_pid(name), self.get_work_folder(name), port, self.kill_timeout] + list(extra)
docs: Assume we launch Notebook with the same Python which executed us.