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:
Ryan Norton 2005-04-18 21:25:10 +00:00
parent d161e2f39a
commit 3bdb628b5c
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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