pgte / fugue

Unicorn for node.js
MIT License
396 stars 14 forks source link

Problem calling a fugue enabled node app from a spawn command #7

Closed bcg closed 13 years ago

bcg commented 13 years ago

I built a little integration suite that calls a fugue multi-worker server from a child_process spawn and fugue doesn't seem to like this. If I run the script by hand it starts up just fine. When the children startup they throw:

Error: EADDRINUSE, Address already in use

I have a feeling this has to do with passing environment variables but I can't seem to crack what the children are missing. Any ideas?

bcg commented 13 years ago

After banging my head on this I finally discovered trollopjs was to blame. I am not quite sure what it was doing to the environment but switching to optimist fixed everything.