Files
repo-badwitch
repo-ptgdp
.directory
.gitignore
.gitmodules
README.md
cconvert
colortest
cowsayeternal
domainfind
fetch
fork
g910-lights
i3-settree
i3lock-custom
mclevel
ps1test
rmbspam
te
test-notifications
tmp
tubetop
tubetop2
xephwrap
xrdbupdate
bin/fork

19 lines
284 B
Bash
Executable File

#! /bin/sh
#
# fork
# Fork a task to bg without terminal spew
# Copyright (C) 2019 Vintage Salt <rehashedsalt@cock.li>
#
# Distributed under terms of the MIT license.
#
if [ -z "$*" ]; then
printf "fork: requires argument\\n"
exit 1
fi
(
exec 0>/dev/null 1>&0 2>&0 "$@"
)&
exit 0