Atti Szuts
2014-08-21 09:23:39 UTC
I'd like to check running processes in my wxWidgets app. (they are started
from my app)
When I initialize process ID holder variables:
long authPID;
it loads 0 (zero) into authPID.
PID=0 always exists and running on Linux systems. (this is the Scheduler)
So checking zero PID returns true.
How can I avoid this in wxWidgets?
Always have to check if authPID is greater than zero, before calling
wxProcess::Exists(authPID)?
Thanks
A.
from my app)
When I initialize process ID holder variables:
long authPID;
it loads 0 (zero) into authPID.
PID=0 always exists and running on Linux systems. (this is the Scheduler)
So checking zero PID returns true.
How can I avoid this in wxWidgets?
Always have to check if authPID is greater than zero, before calling
wxProcess::Exists(authPID)?
Thanks
A.
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users