comparison mx/commands.py @ 5868:a10e72af4dc5

Make windows build work even if Visual Studio is not installed (only the Windows SDK is required)
author Gilles Duboscq <duboscq@ssw.jku.at>
date Fri, 20 Jul 2012 01:54:56 +0200
parents 488864d5069a
children d84a26dc32f5
comparison
equal deleted inserted replaced
5861:1cb45c7dba55 5868:a10e72af4dc5
389 match = findInOutput.search(line) 389 match = findInOutput.search(line)
390 if match: 390 if match:
391 ret = True 391 ret = True
392 if line == ENDTOKEN: 392 if line == ENDTOKEN:
393 if not findInOutput: 393 if not findInOutput:
394 stdin.write('echo ERR%errorlevel%' + newLine) 394 stdin.write('echo ERRXXX%errorlevel%' + newLine)
395 else: 395 else:
396 break 396 break
397 if line.startswith('ERR'): 397 if line.startswith('ERRXXX'):
398 if line == 'ERR0': 398 if line == 'ERRXXX0':
399 ret = True 399 ret = True
400 break; 400 break;
401 stdin.write('exit' + newLine) 401 stdin.write('exit' + newLine)
402 if logFile: 402 if logFile:
403 log.close() 403 log.close()