diff options
-rwxr-xr-x | tap3 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tap3 b/tap3 index 9a0db42..129b5bd 100755 --- a/tap3 +++ b/tap3 @@ -55,6 +55,7 @@ my $err = gensym; my $pid = open3($wtr, $rdr, $err, "/bin/sh", "-c", $cmd); my $desc = shift || $cmd; +$desc =~ s/\n.*//; print $wtr $input if (defined($input)); close $wtr; |