I need to run two command in parallel and get the output from both in the same shell.
Edit:
I am trying to run multiple long-running commands that watch the file system and compile various things for me(coffeescript, jade, sass).
I need to run two command in parallel and get the output from both in the same shell.
Edit:
I am trying to run multiple long-running commands that watch the file system and compile various things for me(coffeescript, jade, sass).
You're probably looking at wait command in bash. Consider this script:
Courtesy
They're both running in parallel; their output goes to the screen.