Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | # |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 3 | # Copyright OpenEmbedded Contributors |
| 4 | # |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0-only |
| 6 | # |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 7 | # Gnome terminal won't tell us which PID a given command is run as |
| 8 | # or allow a single instance so we can't tell when it completes. |
| 9 | # This allows us to figure out the PID of the target so we can tell |
| 10 | # when its done. |
| 11 | # |
| 12 | echo $$ > $1 |
| 13 | shift |
| 14 | exec $@ |