摘要:
我们习惯于将Jenkins slave安装成Windows Service,而微软的Office自动化部分,不支持以Windows Service的方式运行。以下的代码,如果在Jenkins Slave ( As windows service) 中运行,将导致Word打开的时候出错。( doc = word.Documents.Open(in_file) )import sysimport osimport timeimport win32com.clientwdFormatPDF = 17in_file = r'C:\Users\Administrator\Desktop\Buil 阅读全文
posted @ 2014-01-10 11:51
炉石传说
阅读(464)
评论(0)
推荐(0)
浙公网安备 33010602011771号