Hi all,
I just uploaded wxcat to CPAN. It's a silly little program to echo
stdin into a passive gui window (that doesn't steal keyboard focus.)
cpan bin::wxcat
I've been using it to debug some asynchronous output, but you can use it
however you like.
ssh webserver tail -f error.log | wxc
Octavian Rasnita wrote:
Hi,
My program uses an internal web server which is ran in a separate thread
and
when a certain address is accessed, I want it to display a certain
Wx::Dialog.
I've seen that I can display with no problems a Wx::MessageBox, but I can't
display well a Wx::Dialog becau
Gabor Szabo wrote:
Hi,
I have packaged Padre using PAR on Linux to a stand-alone executable.
The result can be downloaded from http://padre.perlide.org/wiki/Download
It seems to work on computer other than mine but it gives an initial
warning popup
with the text:
libwx_gtk2_html-2.8.so: ca
> Octavian Rasnita wrote:
>> PS. Can you tell me if WxPerl works with Perl 5.10?
On Windows using Strawberry Perl it works for sure.
Gabor
Octavian Rasnita wrote:
Hi,
I guess this happends because my app uses threads and I don't know how to
end them even though sometimes I would like to kill them.
The correct way to shutdown a threaded app is to ask the threads to
terminate, either setting a global variable or sending them a
what to to if i start a program over this module and that program waits for
input.
are there events to catch or even a way to feed that input.
thanks for any hints.
herbert
editing with comfort - kephra.sf.net
Schon gehört
herbert breunung wrote:
what to to if i start a program over this module and that program waits for
input.
are there events to catch or even a way to feed that input.
# This is in the docs
$process->WriteProcess( "blah\n" );
For example, I used it to control mpg123:
my $command = 'mpg1
thank you very much, but there is no way to detect if the prozess is
waiting for input?
Huub Peters schrieb:
herbert breunung wrote:
what to to if i start a program over this module and that program
waits for input.
are there events to catch or even a way to feed that input.
# This is in
# from herbert breunung
# on Saturday 30 August 2008 09:36:
> but there is no way to detect if the prozess is
>waiting for input?
Not really. In any piped connection, you only have the output, time of
day, and $SIG{CHLD}/$SIG{PIPE} as feedback from the child. The general
case of detecting "wa