Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re: perl execution problem #1826

Closed
p5pRT opened this issue Apr 13, 2000 · 1 comment
Closed

Re: perl execution problem #1826

p5pRT opened this issue Apr 13, 2000 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Apr 13, 2000

Migrated from rt.perl.org#3088 (status was 'resolved')

Searchable as RT3088$

@p5pRT
Copy link
Author

p5pRT commented Apr 13, 2000

From domo@computer.org

At 06​:29 +0000 2000-04-13, Gavin Minor wrote​:

The following code, when executed, does not work. It returns an
error message "Couldn't finish running sendmail​: aborting at
sendmail.cgi line 28." (note line 28 is the close(SENDMAIL) line)

You don't say what version of Perl you're running -- please use the
perlbug program to submit bug reports, both so that this information
is included, and so that they get recorded by our bug-tracking system
-- but I suspect it's 5.005_03 or earlier. If so, what you're seeing
is probably a manifestation of this​:

$ perl5.00503 -e \
'open(T, "|cat") or die "open​: $!\n"; close T or die "close​: $!\n"'
$ perl5.6.0 -e \
'open(T, "|cat") or die "open​: $!\n"; close T or die "close​: $!\n"'
$ perl5.6.0 -e \
'open(T, "|cart") or die "open​: $!\n"; close T or die "close​: $!\n"'
open​: No such file or directory
$ perl5.00503 -e \
'open(T, "|cart") or die "open​: $!\n"; close T or die "close​: $!\n"'
close​:
$

Before 5.6.0, you often didn't get to know of a problem with a piped
open until later; now problems make the open fail. So your fix is
probably to upgrade perl, and/or to find out why you can't exec
sendmail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant