Use shell, as 'command' may be a builtin.

Loosen argument constraints on mocked Popen
Write configuration correctly under a root account
Merge pull request #12 from duggan/ubuntu-fixes

Ubuntu fixes