Eirik Meland wrote: > Gustavo Sverzut Barbieri <[EMAIL PROTECTED]> writes: > >> > if runtime and not in freevo dir; then >> OLDDIR=$PWD >> > cd freevo dir >> > exec ./freevo "$@" >> cd $OLDDIR >> > fi > > or > > if runtime and not in freevo dir; then > cd freevo dir > exec ./freevo "$@" > cd - > fi
exec will overwrite the current process. You could add 'rm -rf ~' after the exec and nothing bad will happen. So 'cd -' isn't needed. Dischi -- It is impossible to make anything foolproof because fools are so ingenious. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
