def METHOD_NAME(self, args):
    self.ctx.invoke(["admin", "rewrite"])
    self._initDir()
    try:
        command = ["icegridnode", self._icecfg()]
        if self._isWindows():
            self.ctx.die(128, "Not implemented")
            # The following code clearly hasn't been tested.
            # TODO: Fix this or remove it completely
            command = command + ["--install", "OMERO."+args.node]
            self.ctx.call(command)
            self.ctx.call(["icegridnode", "--start", "OMERO."+args.node])
        else:
            if args.foreground:
                command = command + ["--nochdir"]
            else:
                command = command + ["--daemon", "--pidfile",
                                     str(self._pid()), "--nochdir"]
            self.ctx.call(command)
    except OSError as o:
            msg = """%s\nPossibly an error finding "icegridnode". Try \