in reply to Re^3: How Was My Script Run?
in thread How Was My Script Run?

Unless you do  < NUL or some such, children might also get STDIN as tty -- i've seen it happen on win32, don't really know why, don't really care since I always rely on switches or commandline arguments, easier to debug, easier to implement, easily cross platform