#!/bin/bash
# Check if at least one argument is provided
if [ "$#" -lt 1 ]; then
echo "Usage: $0 <command> [args...]"
exit 1
fi
# Start the command with arguments and disown it
nohup "$@" > /dev/null 2>&1 &
echo "Started: $*"
this should be a standard command#!/bin/bash
# Check if at least one argument is provided
if [ "$#" -lt 1 ]; then
echo "Usage: $0 <command> [args...]"
exit 1
fi
# Start the command with arguments and disown it
nohup "$@" > /dev/null 2>&1 &
echo "Started: $*"
this should be a standard command <command> & disown
basically the same?nemo .
code .
which has the desired behaviour by default i guessfor of
and for in
dc evil_edition.dc > out.ppm