subprocess to pipe through several processes?

Discussion in 'Python' started by Neal Becker, Dec 14, 2008.

  1. Neal Becker

    Neal Becker Guest

    How would I use suprocess to do the equivalent of:

    cat - | program_a | program_b
     
    Neal Becker, Dec 14, 2008
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. lee, wonsun
    Replies:
    1
    Views:
    634
    Jack Klein
    Nov 2, 2004
  2. Tom Brown
    Replies:
    0
    Views:
    599
    Tom Brown
    Sep 22, 2005
  3. Replies:
    2
    Views:
    383
    Peter Otten
    Feb 1, 2007
  4. 7stud

    subprocess -- broken pipe error

    7stud, Jul 2, 2007, in forum: Python
    Replies:
    11
    Views:
    1,491
    Steve Holden
    Jul 2, 2007
  5. Victor \Zverok\ Shepelev

    RDOC: several related modules in several C files

    Victor \Zverok\ Shepelev, Mar 6, 2007, in forum: Ruby
    Replies:
    3
    Views:
    313
    Max Lapshin
    Mar 16, 2007
  6. Replies:
    1
    Views:
    369
    Ben Morrow
    Jun 2, 2004
  7. spoertsch

    Pipe input over several scripts

    spoertsch, Jan 18, 2008, in forum: Perl Misc
    Replies:
    4
    Views:
    204
    J. Gleixner
    Jan 21, 2008
  8. Lothar Braun

    Child processes don't get the close on pipe

    Lothar Braun, Jun 2, 2012, in forum: Perl Misc
    Replies:
    3
    Views:
    646
    Rainer Weikusat
    Jun 3, 2012
Loading...