Re: [Boston.pm] script works ok on command line, hangs when run from shell script

Uri Guttman <uri-X/[email protected]>
Newsgroups gmane.comp.lang.perl.perl-mongers.boston
Organization Perl Hunter
Message-ID <[email protected]>
On 04/27/2017 12:47 PM, Mike Small wrote:
>
> Hi again.  Maybe O_DIRECT is the flag you seek?
>
i suspect this has nothing to do with buffering. greg said he has an 
issue with stopping the whole script pipeline with ^C. when stopping a 
pipeline you issue a signal to a process group, not to a single process. 
the original ^C is being issued to csh which should issue a signal to 
the pipeline. as someone said, switching to sh (or bash or other sh 
variant) may be the correct thing. csh was meant as an interactive shell 
and frowned upon for actual scripting (though i scripted in it before i 
discovered perl! :).

so let's hear from greg if he switched to sh and those results. i just 
don't see buffering as doing anything regarding handlng ^C.

uri
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.