I have been using https://github.com/arturadib/shelljs for my execSync needs. Works quite well for building command line application in node that doesn't require concurrency ;)
On Thursday, March 14, 2013 at 9:40 PM, Scott González wrote: > There are tons of modules to help with asynchronous code. > https://npmjs.org/package/async is pretty popular. If you end up in callback > hell, you're probably not designing your code properly. Take some time to > look at various modules and find one with a style that you like. > > > On Thu, Mar 14, 2013 at 4:32 PM, Sebi <sebastian.tild...@googlemail.com > (mailto:sebastian.tild...@googlemail.com)> wrote: > > Many functions in NodeJS have a Sync pendant to the non-blocking functions. > > Why is there no blocking pendant in the child_process module? > > > > I've giving up as I tried to iterate over a directory and call for every > > file > > child.exec.... > > > > how should my app now, that every process completed his task? > > I'm going to run in trouble, because to use a timer to check that seems to > > be not a powerful resolution. > > > > Think there should be a sync pendant in the core child module.... > > > > Sometimes you're going to the "callback" hell... > > > > -- > > -- > > Job Board: http://jobs.nodejs.org/ > > Posting guidelines: > > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > > You received this message because you are subscribed to the Google > > Groups "nodejs" group. > > To post to this group, send email to nodejs@googlegroups.com > > (mailto:nodejs@googlegroups.com) > > To unsubscribe from this group, send email to > > nodejs+unsubscr...@googlegroups.com > > (mailto:nodejs%2bunsubscr...@googlegroups.com) > > For more options, visit this group at > > http://groups.google.com/group/nodejs?hl=en?hl=en > > > > --- > > You received this message because you are subscribed to the Google Groups > > "nodejs" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to nodejs+unsubscr...@googlegroups.com > > (mailto:nodejs%2bunsubscr...@googlegroups.com). > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > (mailto:nodejs@googlegroups.com) > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > (mailto:nodejs+unsubscr...@googlegroups.com) > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to nodejs+unsubscr...@googlegroups.com > (mailto:nodejs+unsubscr...@googlegroups.com). > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.