
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlug] exec -a
hello,
i have a bash question that has been bugging
me. i could have sworn that i used to be able
to use "exec -a" in a bash script to rename
processes, and then i could later find them
using pidof.
like this:
$ exec -a mydaemon daemon
then later:
$ pidof mydaemon
746
but today i can't this to work. the exec
command seems to ignore the "-a" flag, so
"pidof daemon" returns a value but "pidof
mydaemon" returns nothing.
any ideas?
ryan
Home |
Main Index |
Thread Index