Revision: 1591
http://assorted.svn.sourceforge.net/assorted/?rev=1591&view=rev
Author: yangzhang
Date: 2010-04-01 18:12:06 +0000 (Thu, 01 Apr 2010)
Log Message:
-----------
added some comments describing the observations
Modified Paths:
--------------
sandbox/trunk/src/bash/kill-propagation/user.bash
Modified: sandbox/trunk/src/bash/kill-propagation/user.bash
===================================================================
--- sandbox/trunk/src/bash/kill-propagation/user.bash 2010-04-01 18:11:15 UTC (rev 1590)
+++ sandbox/trunk/src/bash/kill-propagation/user.bash 2010-04-01 18:12:06 UTC (rev 1591)
@@ -1,5 +1,11 @@
#!/usr/bin/env bash
+# user -> wrap1 -> wrap2 -> some-app
+# wrap1 exits quickly
+# user kills wrap2
+# some-app is left standing
+# moral: kill is not propagated to children
+
pid=$( ./wrap1.bash )
echo sleeping
sleep 5
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|