On Tue, Dec 9, 2014 at 9:49 AM, karim elsafy <[email protected]> wrote:

> Dears,
> I have an issue when I call forever module in windows, it works fine
> except that my code is calling Cluster module , and I do "Cluster.fork()",
> the problem is that I got 2 empty consoles opened! like the image shows(2
> because I have 2 CPUs) and when I close them, they re-open
> automatically(because of Forever). I also tested forever-win module with
> the same result. every thing is fine except that I dont want to show those
> consoles.
> Note: I face this in windows only not Ubuntu
>

forever is quite dated, and pre-dates node cluster. I'd suggest using a
more modern supervisor, like https://github.com/strongloop/strong-supervisor
that uses cluster natively (and there are others).

That alone might fix your problem, if its because of forever.

If its because your server is doing something, like spawning a child that
triggers windows to spawn a console, then that alone won't help, and more
info about what your code does will be needed. And your node version, etc.

Sam

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CACmrRmRTk8JRHp1yF5W_G5W73LPJF7Y2bEBSr6yegNKUFBj1RA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to