We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9385f07 commit 18f517aCopy full SHA for 18f517a
systemvm/patches/debian/config/opt/cloud/bin/cs/CsProcess.py
@@ -20,15 +20,16 @@
20
import CsHelper
21
import logging
22
23
+
24
class CsProcess(object):
25
""" Manipulate processes """
26
27
def __init__(self, search):
28
self.search = search
29
- def start(self, thru, background = ''):
30
- #if(background):
31
- #cmd = cmd + " &"
+ def start(self, thru, background=''):
+ # if(background):
32
+ # cmd = cmd + " &"
33
logging.info("Started %s", " ".join(self.search))
34
os.system("%s %s %s" % (thru, " ".join(self.search), background))
35
@@ -41,4 +42,3 @@ def find(self):
41
42
if matches == items:
43
self.pid.append(re.split("\s+", i)[1])
44
return len(self.pid) > 0
-
0 commit comments