Run Shell Script Without Profile

Does anyone know how to invoke a do script in the Terminal without the Terminal using the .profile file?

hi meskue,

from the bash manual page, but i think it should apply to ‘sh’ as well (man sh, in your terminal):

so something like:

set normalCommand to "/bin/sh --noprofile
/bin/echo \"I'm not using a profile\""

tell application "Terminal"
	do script normalCommand
end tell

unfortunately, since you don’t post what you are trying to do i can’t test this.