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

"Morse, Richard E.,MGH" <[email protected]>
Newsgroups gmane.comp.lang.perl.perl-mongers.boston
Message-ID <[email protected]>
> On Apr 26, 2017, at 11:54 AM, Greg London <[email protected]> wrote:
> [snip]
> 
> I don't think I've ever written a perl script that takes a pipe input
> so I don't know if there is some side effect about pipes, perl, and
> control-C maybe?

I haven’t ever run into this myself, so I have no particularly good ideas. The only thing that comes to mind is that it might be interesting if you replace the shell with sh — change `#!/bin/csh` to `#!/bin/sh` — and see if there is an interaction with that? I have a vague recollection that csh was, originally, written more with interactive use in mind, and possibly the interaction between the interactive csh that you’re running in and the csh launched by the shell script is confusing things?

Sorry, but that’s all I got…

Ricky


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm
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.