PDA

View Full Version : Process ID for current build


teognost
02-18-2009, 08:29 AM
I would like to have the current build writing in log its process ID .Any idea how can I do this ?
I have seen Builder object has ProcessID property but in the example provided I see how to do it only when starting a build by VBScript code.
I need this because I have multiple builds running in the same time with VisBuildCmd.exe and when I want to kill one of them I do not know which one when I look in Task Manager.

kinook
02-18-2009, 09:16 AM
[Builder.ProcessID]

in the Log Message action will log the process ID of the build process.

http://www.kinook.com/VisBuildPro/Manual/processidproperty.htm
http://www.kinook.com/VisBuildPro/Manual/scriptexpressions.htm
http://www.kinook.com/VisBuildPro/Manual/logmessageaction.htm

teognost
02-19-2009, 02:44 AM
it works perfectly,thanks!