Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/Process.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/Process.py')
-rw-r--r--shell/Process.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/Process.py b/shell/Process.py
index ea5dd0c..09d93a7 100644
--- a/shell/Process.py
+++ b/shell/Process.py
@@ -11,7 +11,9 @@ class Process:
def get_name(self):
return self._command
- def start(self):
+ def start(self, standard_output=False):
args = self._command.split()
flags = gobject.SPAWN_SEARCH_PATH
- result = gobject.spawn_async(args, flags=flags)
+ result = gobject.spawn_async(args, flags=flags,
+ standard_output=standard_output)
+ self._stdout = result[2]