+// struct in which information is passed from wxExecute() to wxAppTraits
+// methods
+struct wxExecuteData
+{
+ wxExecuteData()
+ {
+ flags =
+ pid = 0;
+
+ process = NULL;
+
+#if wxUSE_STREAMS
+ bufOut =
+ bufErr = NULL;
+#endif // wxUSE_STREAMS
+ }
+
+ // wxExecute() flags
+ int flags;
+
+ // the pid of the child process
+ int pid;
+
+ // the associated process object or NULL
+ wxProcess *process;
+
+ // pipe used for end process detection
+ wxPipe pipeEndProcDetect;
+
+#if wxUSE_STREAMS
+ // the input buffer bufOut is connected to stdout, this is why it is
+ // called bufOut and not bufIn
+ wxStreamTempInputBuffer *bufOut,
+ *bufErr;
+#endif // wxUSE_STREAMS
+};
+