Reading from piped standard input on w2k

Discussion in 'Perl Misc' started by Yuri Shtil, Jun 30, 2003.

  1. Yuri Shtil

    Yuri Shtil Guest

    Hi all

    My question is related to both csharp and perl (sort of).

    I am trying to fork and exec a csharp program from perl and then feed input
    to the csharp.
    The problem I am having is that when I am trying to read from Console.In via
    Console.Readline the read call never
    returns even though I send \n at the end of the string.

    Any idea how to make this work ? Do you think the buffering on the perl side
    is the problem ?

    Yuri
    Yuri Shtil, Jun 30, 2003
    #1
    1. Advertising

  2. Yuri Shtil <> wrote:

    > Do you think the buffering on the perl side
    > is the problem ?



    What happened when you turned autoflush on?

    (perldoc -q flush)


    --
    Tad McClellan SGML consulting
    Perl programming
    Fort Worth, Texas
    Tad McClellan, Jun 30, 2003
    #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. David Kensche
    Replies:
    11
    Views:
    1,093
    David Kensche
    Dec 10, 2004
  2. Patrick Useldinger

    reading piped input in Windows

    Patrick Useldinger, Nov 15, 2003, in forum: Python
    Replies:
    4
    Views:
    1,265
    Georgy Pruss
    Nov 16, 2003
  3. ashen_shugar

    Reading input piped from windows vim

    ashen_shugar, Jul 22, 2010, in forum: Python
    Replies:
    0
    Views:
    231
    ashen_shugar
    Jul 22, 2010
  4. Danny Challis
    Replies:
    3
    Views:
    105
    Kaspar Schiess
    Dec 30, 2010
  5. tnitzke
    Replies:
    0
    Views:
    98
    tnitzke
    Aug 9, 2003
Loading...

Share This Page