Part of the post build on my project is the execution of a program I wrote for testing the main application. Unfortunately, the post build process in visual studio locks up waiting for the executable to exit. So, i'm stuck closing my test program in order to have the post build process complete and my application run. How do I change this so VS does not wait for the program to return before launching? Thanks.
views:
223answers:
1
A:
Running your test program via start
might work. Change your post build step from this:
runtest.exe
to this:
start runtest.exe
RichieHindle
2009-08-31 08:54:54
Doesn't work. It just opens the command line. Is the syntax wrong? start "$(ProjectDir)DDEClient\program.exe"original was "$(ProjectDir)DDEClient\program.exe"
max
2009-08-31 10:00:35
Maybe `cmd /c start "$(ProjectDir)DDEClient\program.exe"` ?
RichieHindle
2009-08-31 10:37:22
No luck either. I managed to get it to work by writing a autohotkey script that launchs my application using the Run command. Thanks for your help, though. It was appreciated.
max
2009-08-31 10:57:46
OK - sorry this didn't help.
RichieHindle
2009-08-31 11:05:03