1.1 --- a/OpenSecurity/bin/cygwin.py Thu May 22 11:00:33 2014 +0200
1.2 +++ b/OpenSecurity/bin/cygwin.py Thu May 22 12:17:57 2014 +0200
1.3 @@ -159,14 +159,14 @@
1.4 # special: invoking bash as login shell here with
1.5 # an unquoted command does not execute /etc/profile
1.6 args = '"' + program + '" ' + arguments
1.7 + logger.debug('Launching: ' + program + ' ' + ''.join(arguments))
1.8 process = Popen(args, startupinfo = _startupinfo, stdin = stdin, stdout = stdout, stderr = stderr, shell = False)
1.9 - logger.debug('Launched: ' + program + ' ' + ''.join(arguments))
1.10 if not wait_return:
1.11 return [0, 'working in background', '']
1.12
1.13 res_stdout, res_stderr = process.communicate()
1.14 result = process.returncode
1.15 -
1.16 + logger.debug('Finished: ' + program + ' ' + ''.join(arguments))
1.17 #result = process.wait()
1.18 #res_stdout = process.stdout.read();
1.19 #res_stderr = process.stderr.read();