Permalink
Browse files

Comment out a well-meaning warning that breaks all related tests.

  • Loading branch information...
1 parent 06a6722 commit 96afc60e9d18b3b4657f10ec3266afc604a5e7fd @rcaputo committed May 2, 2011
Showing with 10 additions and 9 deletions.
  1. +10 −9 lib/POE/Wheel/Run.pm
View
@@ -256,15 +256,16 @@ sub new {
);
}
- # Did the user mangle stdio?
- unless (ref($program) eq 'CODE') {
- croak "Someone has closed or moved STDIN... exec() won't find it"
- unless fileno(STDIN) or fileno(STDIN) != 0;
- croak "Someone has closed or moved STDOUT... exec() won't find it"
- unless fileno(STDOUT) or fileno(STDOUT) != 1;
- croak "Someone has closed or moved STDERR... exec() won't find it"
- unless fileno(STDERR) or fileno(STDERR) != 2;
- }
+# # Did the user mangle stdio?
+# # TODO - This means well, but it doesn't realy work.
+# unless (ref($program) eq 'CODE') {
+# croak "Someone has closed or moved STDIN... exec() won't find it"
+# unless fileno(STDIN) or fileno(STDIN) != 0;
+# croak "Someone has closed or moved STDOUT... exec() won't find it"
+# unless fileno(STDOUT) or fileno(STDOUT) != 1;
+# croak "Someone has closed or moved STDERR... exec() won't find it"
+# unless fileno(STDERR) or fileno(STDERR) != 2;
+# }
my (
$stdin_read, $stdout_write, $stdout_read, $stdin_write,

0 comments on commit 96afc60

Please sign in to comment.