minor fixes
-don't show print subprocess commands to py-interpreter.log
This commit is contained in:
parent
3969e38d51
commit
30970598fe
|
@ -21,7 +21,7 @@ def run_process(command):
|
|||
"""
|
||||
Run subprocess and return "return code"
|
||||
"""
|
||||
p = Popen(command)
|
||||
p = Popen(command, stdout=PIPE, stderr=PIPE)
|
||||
return os.waitpid(p.pid, 0)[1]
|
||||
|
||||
def get_mime_type(file_path):
|
||||
|
|
|
@ -18,7 +18,6 @@ class SilanAnalyzer(Thread):
|
|||
def start_silan(apc, logger):
|
||||
me = SilanAnalyzer(apc, logger)
|
||||
me.start()
|
||||
me.join()
|
||||
|
||||
def __init__(self, apc, logger):
|
||||
Thread.__init__(self)
|
||||
|
|
Loading…
Reference in New Issue