Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Reading from piped standard input on w2k

Thread Tools

Reading from piped standard input on w2k

Yuri Shtil
Posts: n/a
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 ?


Reply With Quote
Tad McClellan
Posts: n/a
Yuri Shtil <(E-Mail Removed)> 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 Removed) Perl programming
Fort Worth, Texas
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
platform independent piped input stream from system call Danny Challis Ruby 3 12-30-2010 08:25 AM
Reading input piped from windows vim ashen_shugar Python 0 07-22-2010 02:01 AM
Invoking 'diff' from java with piped input David Kensche Java 11 12-10-2004 03:00 PM
reading piped input in Windows Patrick Useldinger Python 4 11-16-2003 02:19 AM
Piped input to one-liners being truncated tnitzke Perl Misc 0 08-09-2003 09:10 PM