tags:

views:

307

answers:

1

hi,

I am trying to use wxExecute this way: wxExecute("taskkill /F /IM ASServer.exe");

and I don't intend to see the terminal window that pops up(windows). Is there a way to do that? except this http://wiki.wxwidgets.org/WxExecute

thanks,

A: 

The way given on the wiki page you linked to is the standard way of doing it, but if you really can't stand it the following should work:

wxProcess process;
wxExecute("taskkill /F /IM ASServer.exe", wxEXEC_ASYNC, process);
SteveL