Exports variables from local to remote namespace before eval code in
%process_shell