Browse Source

py-i2phosts-fetcher: log injector's output

pull/1/head
Hidden Z 14 years ago
parent
commit
08eedf6f2d
  1. 5
      py-i2phosts-fetcher

5
py-i2phosts-fetcher

@ -109,5 +109,6 @@ for source in config['sources']: @@ -109,5 +109,6 @@ for source in config['sources']:
sp_args = [path + '/py-i2phosts-injector', '-s', '-a', '-f', filename, '-d',
'Auto-added from ' + source_hostname]
p = subprocess.Popen(sp_args, shell=False, stdin=None,
stdout=None, stderr=subprocess.STDOUT)
p.wait()
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
out = p.communicate()[0]
log.info('injector output: \n%s', out)

Loading…
Cancel
Save