in reply to Freakish Perl hangs when run by Windows Service

I have no idea what I'm talking about, but I seem to have a vague recollection of services running under (an) account(s) with certain restrictions. Maybe that poses a problem? Is the script in the first scenario trying to pipe data to the child script, or reading output from it back in (that would obviously lead us back to the second scenario)? Can you pinpoint where your scripts hang during I/O? (On open, as your second point seems to imply, or don't you know more precisely?)

Makeshifts last the longest.

  • Comment on Re: Freakish Perl hangs when run by Windows Service

Replies are listed 'Best First'.
Re: Re: Freakish Perl hangs when run by Windows Service
by bradlepc (Initiate) on Jun 18, 2002 at 01:10 UTC
    There seem to be several failure modes. Based on print statements, one situation occurs after the child script has completed. Somehow the child process is hanging on exit. There's no explicit piping going on, although stdout and stderr are being inherited from the calling script.