Repository navigation
Commit e57ba61
Keep the workflow printout in run-workflow-on-inputlist.sh
This is fixing a bug where the printed workflow could be missing from the stdout of run-workflow-on-inputlist.sh.
- The output was copied to stdout by a tail started after one second and killed when the workflow ended.
- When the workflow had already ended, tail could be killed before printing anything.
- tail now follows a sentinel process with --pid, which is stopped only after all processes are done.
- The final wait for tail is limited to 10 s, with a warning if it has to be stopped.
https://its.cern.ch/jira/browse/O2-7359
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 1aae364 commit e57ba61
1 file changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
83 | 88 | | |
84 | | - | |
85 | 89 | | |
86 | 90 | | |
87 | 91 | | |
88 | | - | |
| 92 | + | |
89 | 93 | | |
90 | 94 | | |
91 | 95 | | |
| |||
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
| 104 | + | |
100 | 105 | | |
101 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
102 | 116 | | |
103 | 117 | | |
104 | 118 | | |
| |||
0 commit comments