#!/bin/sh -e
#
# gui - launch a GUI app without blocking the terminal

if ! command -v "$1" >/dev/null 2>&1; then
  exit 1
fi

nohup "$@" >/dev/null 2>&1 &
