mshanemc / deploy-to-sfdx

the power behind hands-on workshops, demo booths, and platform trial
BSD 3-Clause "New" or "Revised" License
88 stars 43 forks source link

Was spawn() considered vs exec() to execute shell script lines ? #122

Open RupertBarrow opened 8 months ago

RupertBarrow commented 8 months ago

Hi @mshanemc, I was curious to know whether you considered using spawn() instead of exec() to run shell scripts line by line ?

It seems it would have been an easier solution to track an ongoing job. If so, did you encounter any memory (maxBuffer size) problems ?

Thanks for your insights on exec() vs spawn() in this situation.