A process event is sent to the wx.EvtHandler specified to wx.Process when a process is terminated.
Handlers bound for the following event types will receive a wx.ProcessEvent parameter.
wxEVT_END_PROCESS
event. id is the identifier of the process object (the id passed to the wx.Process constructor) or a window to receive the event.See also
__init__ |
Constructor. |
GetExitCode |
Returns the exist status. |
GetPid |
Returns the process id. |
wx.
ProcessEvent
(Event)¶Possible constructors:
ProcessEvent(id=0, pid=0, exitcode=0)
A process event is sent to the EvtHandler specified to Process when a process is terminated.
__init__
(self, id=0, pid=0, exitcode=0)¶Constructor.
Takes a ProcessObject or window id, a process id and an exit status.
Parameters: |
|
---|
GetExitCode
(self)¶Returns the exist status.
Return type: | int |
---|
GetPid
(self)¶Returns the process id.
Return type: | int |
---|
ExitCode
¶See GetExitCode