[PD] shell and "ctrl c"

CK chris at lo-res.org
Thu Feb 16 10:25:59 CET 2006


I read:
> One way would be to send [killall tail( to shell. A better possibility, 
> but still not ideal would be to use [pidof tail( to get the process i
> numbers of all tail processes, and kill the one with the highest pid. 

I guess fuser /path/to/pipe gives the highest chance to kill the one you
really want to get rid of sth. like:

fuser -v /path/to/pipe 2>&1 | grep tail | awk '{print $2}'

of course guenther's suggestion would be the cleanest solution 

HTH

x

-- 
chris at lo-res.org	Postmodernism is german romanticism with better
http://pilot.fm/	special effects. (Jeff Keuss / via ctheory.net)




More information about the Pd-list mailing list