summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl5/Local/Interactive.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl5/Local/Interactive.pm b/perl5/Local/Interactive.pm
index 6447d2eb..0c634091 100644
--- a/perl5/Local/Interactive.pm
+++ b/perl5/Local/Interactive.pm
@@ -174,6 +174,10 @@ sub _sysptycap_script {
OPEN => 0,
DIR => $dir;
+ # These are the arguments for script from Debian's bsdutils
+ # package; could use some heuristics to detect whether we need to
+ # use other arguments, since all this is one big fallback from
+ # using IO::Pty
system qw(script --quiet --command), $cmd, $filename;
open my $fh, "<", $filename;