diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index b6c1fe4bf7..bbec3070ae 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -574,6 +574,9 @@ long wxExecute(wxChar **argv, { ARGS_CLEANUP; + // save it for WaitForChild() use + execData.pid = pid; + // prepare for IO redirection #if wxUSE_STREAMS