Used eval to be compatible with non-bash shell.

Some non-bash shell such as `zsh` will deny to execute commands which could not be located in string variables. `eval` could resolve the compatible problem.