My NAnt build runs as a non-admin as part of CruiseControl. But we have an NCover task which needs to run as an Administrator. For this we are thinking about using RunAs with an admin account.
The problem is that RunAs returns directly and doesn't wait for the process to exit.
Is there a way to block the NAnt build until NCover has finished?
Tnx