When started with the -es switches in that order (see :help -s-ex), some
messages will be printed on stdout, but only from a _very limited_ set
of commands. The normal Vim display is suppressed in that mode.
If you're a really lazy typist, like I am, you could even use (maybe
somewhat baroquely)
vim -es -S main.vim -cq
(the space is optional after -c in that case, maybe for compatibility);
or if your script is named Session.vim in the current directory, and
includes the final :q line,
vim -esS
would (I think) be enough.
Best regards,
Tony.
--
"There is a God, but He drinks"
-- Blore