Moved some functionality into conan for handling wait commands and symbolic links, so now we use it there.

Also made use of the new execution context interface.