Add wait argument to statusExternal.

Windows version untested.