Is it possible to combine output from these two commands?
node ~/projects/trunk/index.js
python ~/projects/trunk/run.py run
Neither command exits so I'm not sure how to do this.
Is it possible to combine output from these two commands?
Neither command exits so I'm not sure how to do this. |
|||||||
|
I ended up doing this, the other suggestions did not work, as the 2nd command was either killed or never executed.
|
|||
|
Try this: paste $(node ~/projects/trunk/index.js) $(python ~/projects/trunk/run.py run) > outputfile |
|||||||||||
|
You can combine two commands by grouping it with
so far, you can redirect the group to a file :
if you want to separate
|
|||||||
|