1#!/bin/sh
2#
3# Copyright OpenEmbedded Contributors
4#
5# SPDX-License-Identifier: GPL-2.0-only
6#
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#
12echo $$ > $1
13shift
14exec $@
15