From: | Sebastian Pipping <sping@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] showing file diffs as root | ||
Date: | Sun, 30 May 2010 20:34:55 | ||
Message-Id: | 4C02CBC3.2010104@gentoo.org | ||
In Reply to: | [gentoo-dev] showing file diffs as root by Christopher Harvey |
1 | On 05/30/10 16:59, Christopher Harvey wrote: |
2 | > [..] because calling |
3 | > os.system("meld file1 file2 &") in python is putting up so many red |
4 | > flags in my head it's not funny. [..] |
5 | |
6 | On a sidenote: the subprocess module offers better alternatives to |
7 | calling os.system: |
8 | http://docs.python.org/library/subprocess.html |
9 | |
10 | Best, |
11 | |
12 | |
13 | |
14 | Sebastian |