You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
The
execute
function takes a second parametersync
.When this is used it calles
spawnSync
and then callsnext()
when it is finished.If no option is provided it calls
spawn
and attaches an.on('close')
handler that callsnext()
.If I don't missunderstand it, in both cases one command is run after the other succeeded.
Why would I want to use sync?
The text was updated successfully, but these errors were encountered: