Skip to content

Instantly share code, notes, and snippets.

Created Sep 15, 2016
What would you like to do?
Bash command to open a program in a new window, detached from the console. Run dos <your command>
#! /bin/bash
function run_disowned() {
"$@" & disown
function dos() {
run_disowned "$@" 1>/dev/null 2>/dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment