Is there a way to detect if the same setup is already running? I'd like to prevent users from running the same setup twice (at the same time).
Is there a way to detect if the same setup is already running? I'd like to prevent users from running the same setup twice (at the same time).
Why u need to do that? If u run the setup twice concurrently, the second launch will fail.
Hyen Vui
If you want to do something right,
you must do it youself.
OCA, IBM DB2 DBA
![]()
Perfect answer !!
If you have some other requirement, then you have to use the API to know if another instance of the program is running.
Thanks.
"In theory, there is no difference between theory and practice. But in practice, there is." - Yogi Berra
For some reason, the second time I run the same setup it doesn't detect itself and fail.
Is there an api call I can use to check this?