Re: svn commit: r779047 - /tomcat/trunk/bin/service.bat

2009-05-27 Thread Mladen Turk
William A. Rowe, Jr. wrote: mt...@apache.org wrote: +runas /env /savecred /user:%SERVICE_USER% "%COMSPEC% /K \"%SELF%\" %SERVICE_CMD% %SERVICE_NAME%" review your cmd.exe syntax. cmd /k is wrong here, that's to persist a shell. You meant /c I suspect. Well /c does give no info to the user

Re: svn commit: r779047 - /tomcat/trunk/bin/service.bat

2009-05-27 Thread William A. Rowe, Jr.
mt...@apache.org wrote: > +runas /env /savecred /user:%SERVICE_USER% "%COMSPEC% /K \"%SELF%\" > %SERVICE_CMD% %SERVICE_NAME%" review your cmd.exe syntax. cmd /k is wrong here, that's to persist a shell. You meant /c I suspect. ---

svn commit: r779047 - /tomcat/trunk/bin/service.bat

2009-05-27 Thread mturk
Author: mturk Date: Wed May 27 08:19:13 2009 New Revision: 779047 URL: http://svn.apache.org/viewvc?rev=779047&view=rev Log: Fix bz41564 by adding /user option to service.bat which respawns the service.bat using runas command. This pops-up a new window with elevated security on Vista+ Modified: