Ways to capture output stream of the process executed with exec call ?

Discussion in 'Ruby' started by Googy, Jan 26, 2007.

  1. Googy

    Googy Guest

    Hi,

    I need to capture output of the process executed with exec or other
    eqavalent calls.

    Thanks.
     
    Googy, Jan 26, 2007
    #1
    1. Advertising

  2. Re: Ways to capture output stream of the process executed with execcall ?

    On 26.01.2007 09:47, Googy wrote:
    > I need to capture output of the process executed with exec or other
    > eqavalent calls.


    Look for popen() and variants. Alternatively you can use backticks:
    s = `ls -lF`

    Kind regards

    robert
     
    Robert Klemme, Jan 26, 2007
    #2
    1. Advertising

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. Replies:
    4
    Views:
    24,316
    vivek_kothari
    Jan 12, 2010
  2. Replies:
    6
    Views:
    666
  3. Benman
    Replies:
    0
    Views:
    146
    Benman
    Dec 9, 2005
  4. Random Task
    Replies:
    12
    Views:
    724
    Joe Smith
    Dec 4, 2005
  5. Stan R.
    Replies:
    1
    Views:
    145
Loading...

Share This Page