Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
maxander
· 2y ago · 0 comments
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.
Comments
[–]
yencabulator
2y ago
I had that need and made something a lot simpler:
https://github.com/tv42/wait-for-pid
[–]
arjvik
2y ago
think you mean && there :)