On 03/07/2013 12:06 AM, jo2dad wrote: > I'm running Jenkins as a service. There is a Jenkins slave running on the > Window box I'm using. I'm not sure how to tell whether the service has > permission to interact with the desktop. > > The rest of the script runs fine (MATLAB make its figures, PowerPoint > opens, does its thing and saves the results), it's just when it gets to the > end and tries to close PowerPoint when things go wrong. > > When I look at processes using Task Manager, MATLAB, PowerPoint and Jenkins > show up as NT Authority\SYSTEM. I assumed this meant that everything was > running as System user and should have all necessary permissions.
IIRC there are some restrictions whata system user is allowed to do. E.g. in one of our projects we tried to get the user directory, which fails for the system services. Maybe powerpoint hits something similar. Can you give it a try and let the slave for once run as a usual windows user? Cheers, Johannes
signature.asc
Description: OpenPGP digital signature