views:

3002

answers:

3

I am in the process of setting up Cruise Control.NET. The problem I am having is that I am running CC as a console application and when my build completes successfully and executes (using exec) it launches it within the Cruise Control dos prompt. I am just using simple batch files to launch my app but having it run within the same prompt as CC is causing CC to think the build continues as long as my app runs.

Are there command line parameters to cmd.exe that will spawn another seperate prompt window ?

Thanks

+9  A: 

I think this works:

start cmd.exe

e.James
make sure you check out all the different options for start "start /?" /wait and /I can be usefull.
Peter Gfader
A: 

start cmd.exe works, thanks.

Mark Stahler
you are welcome :)
e.James
Fastest support I have ever received.
Mark Stahler
Bugger... I was too slow with my answer :(
BlackMael
I caught that one right when it came on the list :)
e.James
+4  A: 
start cmd.exe

opens a separate window

start file.cmd

opens the batch file and executes it is another command prompt

BlackMael