Re: So is 'alarm' implemented under Win32?

2006-04-26 Thread Bbirthisel
In a message dated 4/25/2006 9:09:46 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: alarm() is emulated on Windows. It works at the Perl level, but it doesn’t interrupt while you are executing XS code, and it will also not terminate blocking system calls. There is no way to abort an OLE

Re: fork() and waitpid() issue...

2006-04-26 Thread Andy Speagle
Hi Bill, Thanks for the info... I tried your suggested code... though it doesn't look functionally much different from what I had... it returned the same result... with perhaps better output logging... I'll paste the output up through the 6th child thread. -- Child: pid=0;

Re: fork() and waitpid() issue...

2006-04-26 Thread Andy Speagle
Bill, Yes... this works from the command-line... but I was having other fork() related issues from the command-line too... fork() emulation just isn't stable with win32... I was already trying to reason out something with Win32::Process... but I'm missing some of the magic I think in getting a

RE: win32 issue

2006-04-26 Thread Timothy Johnson
I dont think this is enough information. What is the value of $wordfile? Im assuming youre trying to launch an instance of Microsoft Word. Is it installed on both systems? What is your permission level on the systems? What is the value of $^E?

RE: So is 'alarm' implemented under Win32?

2006-04-26 Thread Timothy Johnson
You could try sending a Win32::OLE-QuitMessageLoop() and seeing if that works to break it out of the call. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of D D Allen Sent: Tuesday, April 25, 2006 12:46 PM To: perl-win32-users@listserv.ActiveState.com

Re: fork() and waitpid() issue...

2006-04-26 Thread Andy Speagle
Hi again... I've worked out how to use this... and in the CGI, I'm trying to redirect STDOUT to a file... which works fine... EXCEPT that all child processes created with Win32::Process will NOT direct their output to the file that's opened... and this is how I'm creating the processes... sub

Re: win32 issue

2006-04-26 Thread Lynn. Rickards
Timothy Johnson wrote: I don’t think this is enough information. * What is the value of $wordfile? * I’m assuming you’re trying to launch an instance of Microsoft Word. Is it installed on both systems? * What is your permission level on the systems? * What is the

Re: fork() and waitpid() issue...

2006-04-26 Thread $Bill Luebkert
Andy Speagle wrote: Hi again... I've worked out how to use this... and in the CGI, I'm trying to redirect STDOUT to a file... which works fine... EXCEPT that all child processes created with Win32::Process will NOT direct their output to the file that's opened... and this is how I'm

Regular expression question

2006-04-26 Thread Cai, Lucy \(L.\)
Hi, all, I have a question about regular expression: my code is like this: ** sub IsPVob { my ($Vob) = @_; my $Output = `cleartool lsvob $Vob`; die IsPVob can't list vob $Vob if $?; return

RE: Regular expression question

2006-04-26 Thread Timothy Johnson
Well, there are a couple of issues here. First off, I don't think this would even compile, because you used /s instead of \s. Secondly, your regex is looking for: .* zero or more of any character (unnecessary, since you didn't anchor the start

Re: Regular expression question

2006-04-26 Thread Ted Schuerzinger
Cai, Lucy (L.) [EMAIL PROTECTED] graced perl with these words of wisdom: return (($Output =~ /.*\(ucmvob\)/s*$/) ? 1 : 0); } ** $Output =/vobs/na_mscs_pvob /ccstore/ecc/vobs_fcis321/na_mscs_pvob.vbs public

Tk beep on Win2K?

2006-04-26 Thread Lyle Kopnicky
Hi folks, I'm having trouble getting the Tk::Widget method beep() to work on Win2K. It works fine on NT4. I'm using ActivePerl 5.8.4. If it makes any difference, I'm also connecting to the server via an RDP session, both cases. If I open a console window on the Win2K server, through an