ProjectController.py
branchsvghmi
changeset 3110 476bd870313d
parent 3109 6c39d718e8cb
child 3163 7cf38cd0d820
equal deleted inserted replaced
3108:079419e7228d 3110:476bd870313d
   157             # Output files are listed to stdout, errors to stderr
   157             # Output files are listed to stdout, errors to stderr
   158             _status, result, _err_result = ProcessLogger(None, buildcmd,
   158             _status, result, _err_result = ProcessLogger(None, buildcmd,
   159                                                          no_stdout=True,
   159                                                          no_stdout=True,
   160                                                          no_stderr=True).spin()
   160                                                          no_stderr=True).spin()
   161         except Exception:
   161         except Exception:
       
   162             self.logger.write_error(_("Couldn't launch IEC compiler to determine compatible options.\n"))
   162             return buildopt
   163             return buildopt
   163 
   164 
   164         for opt in options:
   165         for opt in options:
   165             if opt in result:
   166             if opt in result:
   166                 buildopt = buildopt + " " + opt
   167                 buildopt = buildopt + " " + opt