Hello,

I'm trying to find a way of knowing if some code is being run interactively or in batch mode. Is there a reliable way for this?


Thank you