wxExecute in command line program: async not working

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Morfio
Experienced Solver
Experienced Solver
Posts: 70
Joined: Thu Jul 07, 2005 4:35 pm

wxExecute in command line program: async not working

Post by Morfio »

Hi,

wxExecute with wxEXEC_ASYNC flag works perfectly in a gui driven program. If I use it in a command line program, it always switches to sync mode. Is it possible to start processes with wxExecute in async mode in command line programs or is there another command that works in this way?

Thank you

Morfio
User avatar
doublemax
Moderator
Moderator
Posts: 19160
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxExecute in command line program: async not working

Post by doublemax »

Which platform and wx version?

It's possible that async mode requires a running event loop (which you usually don't have a in console application) but i haven't checked the sources to confirm.
Use the source, Luke!
Post Reply