def spawn(self, argv):
        import proctools
        argv = globargv(argv)
        proc = proctools.spawnpty(" ".join(argv))
        cmd = self.clone(FileCLI)
        cmd._setup(proc, "Process:%s> " % (proc.cmdline.split()[0],))
        raise NewCommand, cmd
spawn <command>...
dataset/ETHPy150Open kdart/pycopia/fepy/pycopia/fepy/CLI.py/BaseCommands.spawn