what actual process runs when the login script is being processed?

I'm trying to get my a/v software to not scan the data stream when the
login script is being processed, as it's slowing down the login process
by quite a bit.

Either a specific process, or some directory to skip would be great.

TIA,

Stevo