blob: ea5dd0c71fbf081a33c1223361e579284d1ee65c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import logging
import gobject
class Process:
"""Object representing one of the session processes"""
def __init__(self, command):
self._command = command
def get_name(self):
return self._command
def start(self):
args = self._command.split()
flags = gobject.SPAWN_SEARCH_PATH
result = gobject.spawn_async(args, flags=flags)
|