Hi

starting the app :
from ccnet call a batch file, and this batch file calls the exe.
this should just run the exe.


for stopping the app:
you can use pstools, and use the pskill command
you can kill commands by procesname


with kind regards
Ruben Willems


On Thu, Feb 11, 2010 at 10:35 PM, Christian Ruppert <
[email protected]> wrote:

> Hi,
> I know, its a strange request. But hey, the whole setup is funny:
>
> I am using my desktop to create some test apps for my tablet.
> The desktop solution is checked into SVN.
>
> The tablet uses CCnet to checkout and build the app.
> So far everything works perfect.
>
> Now, I want something more "exotic". After a successful build, I want
> ccnet to start my app.
>
> I can't use exec as last task, because this would cause my ccnet not
> to finish (the app opens a window).
> So is there an easy way to start up an app after a build, kind of
> asynchroneous?
>
> And now, if you still need another challenge: Can I stop this app
> after SVN update?
> Because, obviously, as long as the app runs the build would fail
> (can"t replace a exe which is currently running)
>
> The question is not that "life threatening", I can of course write a
> little helper in .NET monitoring the files and starting and stopping
> the app "by hand". But I was just wondering if this can be done purely
> in ccnet..
>
> Chris
>

Reply via email to