diff options
Diffstat (limited to 'shell/Process.py')
-rw-r--r-- | shell/Process.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shell/Process.py b/shell/Process.py index fcbf779..5fee905 100644 --- a/shell/Process.py +++ b/shell/Process.py @@ -1,6 +1,10 @@ +import logging + import gobject class Process: + """Object representing one of the session processes""" + def __init__(self, command): self._pid = None self._command = command @@ -9,6 +13,9 @@ class Process: return self._command def start(self): + print self._command + logging.debug('Start %s' % (self._command)) + args = self._command.split() flags = gobject.SPAWN_SEARCH_PATH or gobject.SPAWN_STDERR_TO_DEV_NULL result = gobject.spawn_async(args, flags=flags, standard_output=True) |