jbenet / node-subcomandante

taaaaake ooooooon meeee
4 stars 8 forks source link

Fork bomb in electron #2

Closed dignifiedquire closed 8 years ago

dignifiedquire commented 8 years ago

Using this in station, I realized that process.argv[0] is very unsafe as it results in a fork bomb :( In the packaged scenario inside electron process.argv[0] is not the node binary but the electron binary, so it spawns itself again and again.