Hello all, Yum should be able to handle bash process substition from the cmdline i.e. $ yum shell <(echo -e "install sysstat\nrun") seems to work ok if I rip out the isfile() check... thanks, zing --- cli.py.orig 2006-04-26 15:29:00.000000000 -0400 +++ cli.py 2006-05-30 12:01:08.000000000 -0400 @@ -415,12 +415,7 @@ self.log(3, "No argument to shell") pass elif len(self.extcmds) == 1: - self.log(3, "Filename passed to shell: %s" % self.extcmds[0]) - if not os.path.isfile(self.extcmds[0]): - self.errorlog( - 0, _("File: %s given has argument to shell does not exists." % self.extcmds)) - self.usage() - raise CliError + self.log(3, "Filename passed to shell: %s" % self.extcmds[0]) else: self.errorlog(0,_("Error: more than one file given as argument to shell.")) self.usage() --- shell.py.orig 2006-05-30 12:01:17.000000000 -0400 +++ shell.py 2006-05-30 12:46:36.000000000 -0400 @@ -56,7 +56,7 @@ try: fd = open(self.file, 'r') except IOError, e: - sys.exit("Error: Cannot open %s for reading") + sys.exit("Error: Cannot open " + self.file + " for reading") lines = fd.readlines() fd.close() self.from_file = True