blob: 1352a9872bf069f4c7f5075abe3b726ec6608b1f [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001#!/bin/sh
2#
Patrick Williams92b42cb2022-09-03 06:53:57 -05003# Copyright OpenEmbedded Contributors
4#
Brad Bishopc342db32019-05-15 21:57:59 -04005# SPDX-License-Identifier: GPL-2.0-only
6#
Patrick Williamsc0f7c042017-02-23 20:41:17 -06007# 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#
12echo $$ > $1
13shift
14exec $@