logo       

Re: Wx::Perl::ProcessStream: msg#00181

Subject: Re: Wx::Perl::ProcessStream
Mark Dootson <mark.dootson@xxxxxxxx> writes:

> Tests complete OK on MSWin32 / Linux, both with Wx-0.70 + wxWidgets 2.8.3
> available at http://www.wxperl.co.uk/processstream.html
> I'd appreciate any comments and views on code, process and namespace.

As far as I can test, it does exactly what it is supposed to do!

The only problem I had (and that took me hours of debugging) was why
the slave process wouldn't read the data that was written to it using
WriteProcess.

Well, the slave used <STDIN>, and it was just patiently waiting for
the newline before making any input available. I was slighty misled by
the documentation:

       $process->WriteProcess('a message to stdin');

Which I'd suggest to change to:

       $process->WriteProcess("a message to stdin\n");

as a reminder that newlines are important.

When playing Q & A with a slave program I noticed that the response is
not snappy. Apparently there's a 1-second poll interval hidden
somewhere. It would be nice it this could be reduced to 200ms or
something similar. (But it could be hidden deeply in Wx -- didn't
investigate).

For me, this module is exactly what I've needed for a long time!

Thanks,
        Johan

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
web.pylons.gene...    hurd.l4/2002-10...    kernel.commits....    user-groups.lin...    yellowdog.gener...    java.drools.use...    security.openva...    package-managem...    linux.debian.us...    qnx.openqnx.dev...    genealogy.gramp...    file-systems.if...    voip.wengophone...    tex.context/200...    ietf.smime/2003...    audio.csound.de...    culture.region....    xfree86.devel/2...    mobile.kannel.u...    distributed.con...    education.engli...    org.user-groups...    bug-tracking.gn...    recreation.bicy...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe