Commit Graph

19 Commits

Author SHA1 Message Date
isaacs
324d9a803b Fix #417. chdir() doesn't parallelize well.
Removed all the process.chdir() stuff that was a relic from a time when
npm didn't do multiple different builds at the same time.

Not sure how this bug stayed alive for so long.  Maybe since it usually
works if you just try again, and it's hard to deterministically
reproduce.

Special thanks to Charlie Robbins for bringing it to my attention.
2010-12-02 16:54:42 -08:00
isaacs
4885fe4b21 Avoid the sys warnings. 2010-10-15 13:48:45 -07:00
isaacs
9b3e582289 Bug where a pipe might call the cb twice. Reported by russell_h in IRC. 2010-08-26 20:17:33 -07:00
isaacs
a9a05c5d6c Rework how exec works, and add pipe/spawn 2010-08-25 05:21:53 -07:00
isaacs
01b2fbbb6b Turn down exec logging to verbose 2010-08-23 20:20:43 -07:00
isaacs
f19ad8ec29 Rollback spawn api change. Guess it isn't there yet. 2010-08-10 16:19:50 -07:00
isaacs
fa75089a8f Use the new child_process.spawn API 2010-08-10 10:47:38 -07:00
isaacs
24663af147 Pass in process.env as the default env, not null. 2010-08-08 19:23:53 -07:00
isaacs
9fe57adffa typeo and style 2010-07-24 18:51:17 -07:00
isaacs
f97b8136eb s/addListener/on/g 2010-07-03 01:07:26 -07:00
isaacs
2cabb324c3 Use the stdio file descriptors if the data doesn't need to be piped through 2010-06-12 22:59:33 -07:00
isaacs
21df960208 add quiet mode 2010-05-26 10:52:51 -07:00
isaacs
3f3a2b648d clean up the optional argument stuff to be a bit terser 2010-05-11 14:32:06 -07:00
isaacs
03f6ddbf8e Share the stdout and stderr with exec callbacks 2010-05-08 12:55:03 -07:00
isaacs
4d05b04613 Updated to work with node 0.1.33 with the various net2 changes. 2010-03-21 12:16:07 -07:00
isaacs
8073b0b983 Refactor out the utils/index.js file, and clean up some style issues. 2010-03-04 21:40:23 -08:00
isaacs
466741eb66 Take an env param for the child process 2010-03-01 01:11:51 -08:00
isaacs
99f299d476 Better logging, and remove the timeout around unpack tar. (It appears to have been an encoding issue.) 2010-02-28 20:47:39 -08:00
isaacs
bdedd09e80 Refactor some of the reusables into the utils folder. 2010-02-27 17:17:04 -08:00