Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output redirect or pipe in task #175

Open
JochenDiekenbrock opened this issue Jul 3, 2019 · 0 comments · May be fixed by #176
Open

Output redirect or pipe in task #175

JochenDiekenbrock opened this issue Jul 3, 2019 · 0 comments · May be fixed by #176

Comments

@JochenDiekenbrock
Copy link

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?

@JochenDiekenbrock JochenDiekenbrock linked a pull request Jul 6, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant