Commit 048f488
committed
exit handler: don't use a subshell to list children still running
Use a new children_left.txt log file instead.
Using a subshell forced us to filter it out with grep -v $SCRIPT_NAME
which is more complicated, incompatible with exec wrappers like
multiple-pipeline-capture/playback.sh and incompatible with running
concurrent instances.
Signed-off-by: Marc Herbert <marc.herbert@intel.com>1 parent 9bc74c8 commit 048f488
1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
156 | 154 | | |
157 | | - | |
158 | 155 | | |
159 | 156 | | |
160 | 157 | | |
| |||
163 | 160 | | |
164 | 161 | | |
165 | 162 | | |
| 163 | + | |
| 164 | + | |
166 | 165 | | |
167 | 166 | | |
168 | 167 | | |
| |||
0 commit comments