Improve process spawning.

From: Benoit Pierre <benoit.pierre@gmail.com>

git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@1038 ef8490bc-f317-4725-81ed-e95a9aca1bcf