I'm using the npm-run-all api to run some tasks in parallel.
I want to redirect the output of each task to a separate file, so I can't use the stdout option to create a file. I tried to redirect or pipe the task output with by appending > task.out or | tee task.out to the task, but this failed.
I digged around a little bit and found that in run-task.js shell-quote is called, which puts > and | in quotes which makes them useless.
Is there a way to achieve what I want?
I'm using the npm-run-all api to run some tasks in parallel.
I want to redirect the output of each task to a separate file, so I can't use the stdout option to create a file. I tried to redirect or pipe the task output with by appending
> task.out
or| tee task.out
to the task, but this failed.I digged around a little bit and found that in
run-task.js
shell-quote is called, which puts > and | in quotes which makes them useless. Is there a way to achieve what I want?