#1
|
|||
|
|||
Run Program and Batch File don't generate process
Hi,
I am trying to run an application using either a "Batch File" or a "Run Program" step. When I double click on the *.exe file outside VBP through windows explorer the program runs correctly (opens command prompt since it is a console app) and I can see the process created in the Windows Task Manager Processes list, ...but when I execute it inside VBP using those 2 steps the output of my app is written on the VBP Output window correctly (exact same output from command prompt) but it never generates the process in Windows Task Manager. Am I missing something? Here is the xml of my VBP steps trial: <step action='Run Program'> <command>C:\VisualBuild\Logging Applications\FolderWatcher\FolderWatcher\bin\Relea se\FolderWatcher.exe</command> <indent type='3'>1</indent> <name>Run Projects Folder Watcher</name> <outputfrom type='3'>1</outputfrom> <startin>C:\VisualBuild\Logging Applications\FolderWatcher\FolderWatcher\bin\Relea se\</startin> </step> <step action='Batch File'> <CmdFile>C:\VisualBuild\runFolderWatcher.bat</CmdFile> <CmdStr><![CDATA[cd C:\VisualBuild\Logging Applications\FolderWatcher\FolderWatcher\bin\Relea se\ FolderWatcher.exe ]]></CmdStr> <CmdType type='3'>1</CmdType> <NoEcho type='11'>-1</NoEcho> <indent type='3'>1</indent> <name>Run Folder Watcher</name> <startin>C:\</startin> <window type='11'>-1</window> </step> PS: I am using VBP Version 6.0 |
|
|