sh.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Fri, 05 Aug 2011 10:55:52 +0300
changeset 922 df742eebd7a1
parent 890 6f835a47d0e0
permissions -rwxr-xr-x
keep-lines

-*- mode: outline; coding: utf-8 -*-

* Kill processes after timeout.

  $ yes xxx& p1=$! ; yes ===& p2=$! ; sleep 2; kill $p1; kill $p2