Skip to content

Output redirect or pipe in task #175

Open
@JochenDiekenbrock

Description

@JochenDiekenbrock

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?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @JochenDiekenbrock

      Issue actions

        Output redirect or pipe in task · Issue #175 · mysticatea/npm-run-all