1.1 --- a/OpenSecurity/bin/cygwin.py Fri Dec 06 12:47:53 2013 +0100
1.2 +++ b/OpenSecurity/bin/cygwin.py Thu Jan 23 16:31:33 2014 +0000
1.3 @@ -76,7 +76,10 @@
1.4 command_path = Cygwin.root() + os.sep.join(command[0].split('/'))
1.5 command = [command_path] + command[1:]
1.6
1.7 - return subprocess.Popen(command, shell = False, stdin = stdin, stdout = stdout, stderr = stderr)
1.8 + try:
1.9 + return subprocess.Popen(command, shell = False, stdin = stdin, stdout = stdout, stderr = stderr)
1.10 + except:
1.11 + sys.stderr.writeln('Failed to execute cygwin command.\n\tcommand="' + command + '"')
1.12
1.13
1.14 @staticmethod