How to add a search path for the sys exec vi to look for cmds on solaris. In using expect scripts calling expect scripts. One sys exec cmd calls the first script, any cmds in the called script should be found. I am aware of the working directory path added to the system exec vi but it doesn't provide all of the search paths that a unix environment path will.