Update taskopen

Updated cygwin code