]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/exec/exec.cpp
Applied patch [ 1586964 ] Getting the PID of the process executed by wxProcess::Open()
[wxWidgets.git] / samples / exec / exec.cpp
index 13e9c0003d71da0ba1991046b92b76a83255ff39..3a30eff6de13b8e7305f9a48f9ade9fe9fa48214 100644 (file)
@@ -774,6 +774,8 @@ void MyFrame::OnPOpen(wxCommandEvent& WXUNUSED(event))
         return;
     }
 
+    wxLogVerbose(_T("PID of the new process: %ld"), process->GetPid());
+
     wxOutputStream *out = process->GetOutputStream();
     if ( !out )
     {