[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    help with KProcess (passing arguments)
From:       "Christopher J. Bottaro" <cjbottaro () alumni ! cs ! utexas ! edu>
Date:       2005-02-25 18:36:24
Message-ID: cvnqvu$rot$1 () sea ! gmane ! org
[Download RAW message or body]

I'm trying to invoke yum from KProcess and I set it up like this:

kproc << "yum";
kproc << "install";
kproc << "--enablerepo=base,updates-released"
kproc << packages;
kproc.start();

But I keep picking up on stderr:

"No Match for argument --enablerepo=base,updates-released"

But then the yum process continues on its merry way.  If I invoke yum from
the console, using the exact same arguments, all is well.

Any help is appreciated, thank you.

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic