![]() |
|
|||
0001 #!/bin/bash 0002 0003 echo "Starting chld1.sh" 0004 0005 trap 'echo Ignoring SIGINT' SIGINT 0006 trap 'echo Ignoring SIGTERM' SIGTERM 0007 0008 # Run off some child 0009 chld2.sh 0010 0011 0012 # 0013 # Sleep for ever... - this is due to fact that forks causes at some points 0014 # to show two processes, thus mes up accounting during run.sh tests 0015 # we cannot sleep for ever with sleep, because then signals are ignored. 0016 # thus read from pipe where nothing comes in 0017 # 0018 while [[ 1 == 1 ]]; do 0019 read < ./test.fifo 0020 done
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |