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

Document async option #12

Open
errnesto opened this issue Oct 24, 2020 · 1 comment
Open

Document async option #12

errnesto opened this issue Oct 24, 2020 · 1 comment

Comments

@errnesto
Copy link

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?

@audinue
Copy link
Owner

audinue commented Oct 25, 2020

Please read #7. Thank you.

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

No branches or pull requests

2 participants