Hi all,
suppose i create a process with Win32::Process. how do i get a hold of the
processes STDIN,STDOUT, so i can write and print to/from process in the
script?
I have given "1" for the 4 param to inherit handles.
---
Hi all
when i use the open() function, how do i suppress it from printing
automatically to STDOUT. I want STDOUT to be directed to RH (Read Handle).
eg.
open(RH,"| $cmd |"); <--- all i am doing is instantiating a process, why is
it printing to STDOUT, when i have not told it to??
Thanks in adva
I guess I'm missing something very basic about Win32::SerialPort. The
following one-line demonstrates my travail:
perl -MWin32::SerialPort -e "new Win32::SerialPort 'COM1'"
It results in "Access is denied". Is there some sort of security
somewhere in Windows, that would prevent an administrat
Hi Bill,
I don't think its a threading issue. when i comment out the threads, it
still prints to STDOUT even when there is no print statement.
eg. here is the piece of code.
open(RH,"|$cmd|"); <--- all i am doing is instantiating a process,
why is it printing to STDOUT, when i have not t
Hi again,
I have changed my server solution to use perl 5.8 threads, instead of fork.
It is set up for non-blocking sockets. It has a client that is non-blocking
as well.
my problem is that It still prints to STDOUT, not $client.
Your help is appreciated. Thanks in advance.
Regards,
Jeremy Ai
Hi again,
I have changed my server solution to use perl 5.8 threads, instead of fork.
It is set up for non-blocking sockets. It has a client that is non-blocking
as well.
my problem is that It still prints to STDOUT, not $client.
Your help is appreciated. Thanks in advance.
Regards,
Jeremy Ai