Blocking in path().
Implements path, untested.