• Only invoke the dialog if the fd (that is STDIN) that a read is being requested for is owned by TM.
TM now sets the environment variable 'TM_PID'. We compare this value with the absolute value of the owner of the fd. If TM_PID is not set, then we assume that TM does not own the fd. Changed: U trunk/Support/lib/tm_interactive_input.dylib U trunk/Tools/tm_interactive_input/src/read.c A trunk/Tools/tm_interactive_input/src/textmate.c A trunk/Tools/tm_interactive_input/src/textmate.h U trunk/Tools/tm_interactive_input/test/bash-test-script.sh _______________________________________________ textmate-dev mailing list [email protected] http://lists.macromates.com/mailman/listinfo/textmate-dev
