Add post condition to ensure correct set up for clone call
Correct to deal with cygwin and cygwin64; add some new external command support routines