Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #41353] [PATCH] Extended very limited PIO_unix_pipe() function in src/io/io_unix.c

3 views
Skip to first unread message

Kay-Uwe Huell

unread,
Jan 26, 2007, 1:10:02 PM1/26/07
to bugs-bi...@rt.perl.org
# New Ticket Created by Kay-Uwe Huell
# Please include the string: [perl #41353]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41353 >


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

Hi parrot team,

I have started to call external programs in Linux environment and had to
recognize, that
open "/some/command some argument", "-|"
is VERY limited. (Could not use quotes to use space in arguments, could
only use max. 10 arguments, etc.)

I have extended the function to be still basic (not to use perl's magic
shell usage when it encounters a special character), but that you can
use quotes to have whitespace in arguments and that you can have as many
arguments you like.

Patch attached.

Regards,

Kiwi

src/io/io_unix.c | 147
++++++++++++++++++++++++++++++++++++++++++++++---------
t/pmc/io.t | 97 +++++++++++++++++++++++++++++++++++-
2 files changed, 220 insertions(+), 24 deletions(-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFukPNHSiAp6bcIcgRAiHnAKCoSTz9JChlnwzGIcHckHWwD3b+MQCePyF7
GuV6KPdUgcIJ9NVwkRsQeWg=
=Kjo7
-----END PGP SIGNATURE-----

unix_pipe.patch
unix_pipe.patch.sig
0 new messages