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

List:       kde-core-devel
Subject:    Re: KProcess: Can't preload data to be piped to stdin?
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2002-02-22 12:07:24
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 21 February 2002 23:57, Waldo Bastian wrote:
<snip>
> > But for GnuPG, e.g., one wants to pipe binary data (e.g. a jpg to
> > be encrypted).
>
> I guess I can fix that and add an overloaded fputs for QByteArray.
> Would that work for you?

I guess so. Thanks.

> > For other projects (i'm thinking calling "gpg --passphrase-fd" or
> > "losetup -p" here), it would need to be able to provide a number of
> > additonal pipes (at least 3 for gpg (--status-fd, --command-fd,
> > - --passphrase-fd), in addition to stdin, stdout, stderr).
>
> KProcess has two virtual commSetup functions
<snip>

Thanks, I didn't see them. I guess that's all I need, then.

Marc

- -- 
Marc Mutz <mutz@kde.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8djR83oWD+L2/6DgRAluhAJ0XVbyYpKPemOIrzu8fwhvcfgrL8gCgh4S8
4LB9xCnScsZGQ2SP1KcaIak=
=vm+t
-----END PGP SIGNATURE-----

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

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