wxExecute log message cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d161e2f39a
commit
3bdb628b5c
@ -28,7 +28,7 @@ extern "C" {
|
||||
void wxMAC_MachPortEndProcessDetect(CFMachPortRef port, void *data)
|
||||
{
|
||||
wxEndProcessData *proc_data = (wxEndProcessData*)data;
|
||||
wxLogDebug(wxT("Wow.. this actually worked!"));
|
||||
wxLogDebug(wxT("Process ended"));
|
||||
int status = 0;
|
||||
int rc = waitpid(abs(proc_data->pid), &status, WNOHANG);
|
||||
if(!rc)
|
||||
|
@ -240,6 +240,7 @@ int wxKill(long pid, wxSignal sig, wxKillError *rc, int flags)
|
||||
long wxExecute( const wxString& command, int flags, wxProcess *process )
|
||||
{
|
||||
wxCHECK_MSG( !command.empty(), 0, wxT("can't exec empty command") );
|
||||
wxLogDebug(wxString(wxT("Launching: ")) + command);
|
||||
|
||||
#if wxUSE_THREADS
|
||||
// fork() doesn't mix well with POSIX threads: on many systems the program
|
||||
|
Loading…
Reference in New Issue
Block a user