1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-05 05:14:17 +01:00

experimental branch:

- Port a bunch of fixes from the trunk
- Use an actual Gtk.Menu in the toolbar for the "Network" widget
This commit is contained in:
imdano
2008-10-18 17:37:42 +00:00
parent 20b4a61f30
commit 11bd0266ff
8 changed files with 241 additions and 176 deletions

View File

@@ -67,9 +67,9 @@ def Run(cmd, include_stderr=False, return_pipe=False):
one output string from the command.
"""
cmd = to_unicode(str(cmd))
cmd = cmd.split()
if type(cmd) is not list:
cmd = to_unicode(str(cmd))
cmd = cmd.split()
if include_stderr:
err = STDOUT
fds = True