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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user