[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: eval vs. exec



At 17:19 Uhr -0400 04.05.2003, Nori Heikkinen wrote:
exec `ssh-agent`

Won't work; exec means, give up current shell and become the new process - and that is a string here that should just give ~ 'could not exec, file not found'.

This should maybe work:

exec ssh-agent bash -c 'ssh-add $HOME/.ssh/id_dsa </dev/null; exec fvwm2'

Christian



Reply to: