X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fbf456aa8952c6d2d3edeea1208b0e3159a3cb8d..54946cc95b8493fb092b6a508bf22a1cd6fa4693:/docs/latex/wx/function.tex diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index 9fe55f3bf6..0b3248160c 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -480,6 +480,12 @@ flush an unnecessary console for the processes which don't create any windows anyhow) but a {\tt wxEXEC\_NOHIDE} flag can be used to prevent this from happening, i.e. with this flag the child process window will be shown normally. +Under Unix the flag {\tt wxEXEC\_MAKE\_GROUP\_LEADER} may be used to ensure +that the new process is a group leader (this will create a new session if +needed). Calling \helpref{wxKill}{wxkill} with the argument of -pid where pid +is the process ID of the new process will kill this process as well as all of +its children (except those which have started their own session). + Finally, you may use the third overloaded version of this function to execute a process (always synchronously) and capture its output in the array {\it output}. The fourth version adds the possibility to additionally capture