View Single Post
  #1  
Old 06-28-2006, 11:32 AM
onurcivi onurcivi is offline
Registered User
 
Join Date: 06-28-2006
Posts: 1
Post Send a Cancel Signal to VisBuildCmd from an app

Hi,

I have a web application that allows internal users to view available build projects (all .bld files in a specific folder) and request builds. When a user requests a build, this web application invokes VisBuildCmd with the /b switch. This web application doesn't use the object model at all, it just calls the VisBuildCmd with the project name.

I would like to add the option to cancel the build to the web application and I could not find an easy way of doing this. Since I am not using the object model, the Stop method of the builder object is not available to me. Only thing that is available to me in the app is the Process Id of VisBuildCmd, and I just did not want to prematurely terminate this process from my app when a user wants to cancel the build. Is there anything I can pass to the VisBuildCmd.exe process to tell it to cancel the build, can you think of any other ways of accomplishing this?

Thank you
Reply With Quote