Start the browser as background process

2007-11-23 Thread Walter . Laub
Thank you, it works.___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Start the browser as background process

2007-11-22 Thread Walter . Laub
Hello, I want to start a browser window, but as background process, so my script will continue to run: My example: system "\"C:\\Programme\\Internet Explorer\\iexplore.exe\" $website"; wait, until the browser window is closed. Any sugge

Problems with environment variables in a commandline

2007-11-22 Thread Walter . Laub
Hello, test.pl, which start a child command line: use strict; system 'cmd'; Following scenario: cmd # open an windows commandline set TEST=ö # german umlaut "ö" set TEST TEST=ö # as expected, it return the correct value test.pl # the perl script open a subshell set TES

Reading from STDIN, my script - thanks to All

2007-10-18 Thread Walter . Laub
Sorry, no attachment allowed ;-) Here is the listing: #!/usr/bin/perl -w ## # Owner : Walter Laub (wla) # # # # Name : smtp_send.pl # # Intention : send mail using SMTP # # Require : perl

Reading from STDIN, my script - thanks to All

2007-10-17 Thread Walter . Laub
maybe, somebody need a script like this: smtp_send.pl Description: Binary data ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reading from STDIN, tricky question ...

2007-10-16 Thread Walter . Laub
How to find out, if the data from STDIN comes from a pipe or from the keyboard? My script is called in two modes: echo "[TEXT]" | smtp_send.pl ... or smtp_send.pl -message "[TEXT]" Inside the script, I read with: while( $zeile = <> ) { } I need to check, if data comes from a pipe

Re: Reading from STDIN via echo command doesn't work ...

2007-10-16 Thread Walter . Laub
I tested with XP, but your tip is right. With explicit call of perl "all works as designed". Thank You. ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reading from STDIN via echo command doesn't work with windows

2007-10-15 Thread Walter . Laub
I wrote a script, which send messages via SMTP. All works fine with Unix but not with Windows, when read the message from the echo command: echo "123" | mail_send.pl -c [EMAIL PROTECTED] -relay 172.21.17.16 The problem is when reading from STDIN: : : if ( defined $opt{message} ) { $message=$