summaryrefslogtreecommitdiff
path: root/perl5
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-04-15 11:14:19 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-04-15 11:14:19 -0700
commit6f013e63128209c949500d9b8f617d3be2ce22c8 (patch)
tree6252f169d2fc7252f558f7b20cb7cc51071f1b95 /perl5
parenta384d30d10d9701693260ee6343d1d164c79b7ff (diff)
downloaddotfiles-6f013e63128209c949500d9b8f617d3be2ce22c8.tar.gz
comment
Diffstat (limited to 'perl5')
-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;