utils: rework fork()
commit786132ca149706a06d4cc448dade0c1487a47944
authorDavid Aguilar <davvid@gmail.com>
Wed, 9 Jul 2008 09:13:36 +0000 (9 02:13 -0700)
committerDavid Aguilar <davvid@gmail.com>
Wed, 9 Jul 2008 09:17:05 +0000 (9 02:17 -0700)
tree15615e4bb0d771af128980a010bfebd0ae38802a
parent956e1bd6a64ddb7d4c9c4d8ca6157b7e63b92400
utils: rework fork()

We were getting some backtraces when launching apps in the
background with the subprocess-based fork() method.
This reworks the implementation to avoid subprocess.

The downside is that we now rely on shell_quote().
I'm probably doing something wrong, or there's some weirdness
introduced when running under PyQt.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/utils.py