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
[PATCH] Include the error message on IPC::Open3 exec() failure #15041
Comments
From @ilmariSee attached patch. |
From @ilmari0001-Include-the-error-message-on-IPC-Open3-exec-failure.patchFrom 3c791a6b3aebabbb9a761902942164b675a4ebda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dagfinn=20Ilmari=20Manns=C3=A5ker?= <ilmari@ilmari.org>
Date: Tue, 10 Nov 2015 10:59:24 +0000
Subject: [PATCH] Include the error message on IPC::Open3 exec() failure
---
ext/IPC-Open3/lib/IPC/Open3.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ext/IPC-Open3/lib/IPC/Open3.pm b/ext/IPC-Open3/lib/IPC/Open3.pm
index 273f205..e5924a3 100644
--- a/ext/IPC-Open3/lib/IPC/Open3.pm
+++ b/ext/IPC-Open3/lib/IPC/Open3.pm
@@ -9,7 +9,7 @@ package IPC::Open3;
use Carp;
use Symbol qw(gensym qualify);
-$VERSION = '1.19';
+$VERSION = '1.20';
@ISA = qw(Exporter);
@EXPORT = qw(open3);
@@ -280,7 +280,7 @@ sub _open3 {
return 1 if ($_[0] eq '-');
exec @_ or do {
local($")=(" ");
- croak "$Me: exec of @_ failed";
+ croak "$Me: exec of @_ failed: $!";
};
} and do {
close $stat_w;
--
2.6.2
|
From @ilmari-- |
The RT System itself - Status changed from 'new' to 'open' |
@tonycoz - Status changed from 'open' to 'resolved' |
From @ikegamiThanks. This was on my to-do list. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Migrated from rt.perl.org#126609 (status was 'resolved')
Searchable as RT126609$
The text was updated successfully, but these errors were encountered: