linuxmint/Cinnamon — pull request #1408 by autarkper (2012-11-24 09:17:56+00:00)
Title: [utils.js] Set stdout and stderr of spawned processes to /dev/null

I've noticed that if I run 'cinnamon --replace' and start a program in the new session, the Cinnamon instance will not exit until the program exits, and if I kill the old session after starting a newer one, the program I started will be killed as well.

This patch disconnects the started program from the Cinnamon instance by setting the spawned child process's standard output and standard error to /dev/null.