![]() |
|
|||
0001 #!/bin/bash 0002 0003 echo "Starting chld3.sh" 0004 0005 0006 # 0007 # At this point we exit, but expect that chld4 is killed too 0008 # 0009 function clean_up { 0010 echo "Doing exit of chld3" 0011 exit 0012 } 0013 0014 0015 0016 trap clean_up SIGINT SIGTERM 0017 0018 # Run off some child 0019 chld4.sh 0020 0021 #while [[ 1 == 1 ]]; do 0022 # sleep 1 0023 #done 0024 0025 # 0026 # Forkless sleep 0027 # 0028 read < ./test25_sleep.fifo 0029
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |