Conceivably, could this lock up if stdout wrote too much - causing the pipe to stall.  I suspect unlikely in the cases this is going to be used - unless there are lots of dependencies! but maybe worth a comment.