in reply to Re^2: Threads Printing Issue - Output Mangled / Term Crashing
in thread Threads Printing Issue - Output Mangled / Term Crashing
You will have to place the wrapper on the remote machines (or just make it into a perl one-liner and pass it on the ssh call)#!/usr/bin/perl # untested: require POSIX; my $pid = fork; unless ($pid) { exec 'tcpdump', @ARGV; POSIX::_exit(1); } while (<>) { ; }; # just discard input until EOF kill KILL => $pid;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Threads Printing Issue - Output Mangled / Term Crashing
by bigbot (Beadle) on Apr 14, 2014 at 12:21 UTC | |
by salva (Canon) on Apr 14, 2014 at 13:58 UTC | |
by bigbot (Beadle) on Apr 14, 2014 at 23:10 UTC | |
by soonix (Chancellor) on Apr 15, 2014 at 06:22 UTC | |
by bigbot (Beadle) on Apr 15, 2014 at 06:25 UTC | |
|