Finish the implementation of env utility.

If -i is specified, overwrite the environ variable, otherwise append new
entries.

Try to run the command if it has been specfieid.