Skip to content

Document async option #12

Description

@errnesto

The executefunction takes a second parameter sync.

When this is used it calles spawnSync and then calls next() when it is finished.
If no option is provided it calls spawn and attaches an .on('close') handler that calls next().

If I don't missunderstand it, in both cases one command is run after the other succeeded.
Why would I want to use sync?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions