Source: cirosantilli/bsub-on-foreground
= bsub on foreground
Run `bsub` on foreground, show stdout on host stdout live with an interactive with the <bsub -I option>:
``
bsub -I 'echo a;sleep 1;echo b;sleep 1;echo c'; echo done
``
Ctrl + C kills the job on remote as well as locally.
Bibliography:
* https://superuser.com/questions/46312/wait-for-one-or-all-lsf-jobs-to-complete