Hacker News new | ask | show | jobs
by maxander 622 days ago
Yeah I was unclear there - I meant the other use of the & operator, 'foo & bar' where bar starts after foo completes. AFAIK, if you ran foo by itself, there's no way to make bar automatically run after foo completes.
2 comments

I had that need and made something a lot simpler: https://github.com/tv42/wait-for-pid
think you mean && there :)