Search Results

Search: Posts Made By: MadeInGermany
Forum: Red Hat 04-04-2019
9,146
Posted By MadeInGermany
Portability: /bin/sh is present on every *X OS....
Portability: /bin/sh is present on every *X OS. (Well, SCO Unix and an old HP-UX might need the workaround ${1+"$@"} for a historic bug with "$@".)
It works with any compatible shell, too.
Forum: Red Hat 04-04-2019
9,146
Posted By MadeInGermany
I am not sure what your version of nohup is...
I am not sure what your version of nohup is doing.
Try the following nohup.sh script:
#!/bin/sh
# ignore signals HUP INT QUIT
trap "" 1 2 3
# redirect filedescriptors 0...6
exec "$@" </dev/null...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 06:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy