CRLF line endings or LF line endings, but Unix's exec() does. When SGE calls exec() on the Python script with the CRLF line endings, it can't get past the first line and then dies with a mostly unhelpful error message. DeltaQuad: I tested this pretty extensively last night. Seriously, just fix your line endings and you should be good to go. :-) MZMcBride