2. Defs StopSafe

How to use StopSafe on the robot side

# How to use # from pyOpenRPA.Tools import StopSafe # StopSafe.Init(inLogger=None) # StopSafe.IsSafeStop() # True - WM_CLOSE SIGNAL has come. taskkill /im someprocess.exe

Functions:

Init([inLogger])

Init the StopSafe module.

IsStopSafe()

Check if stop signal has come.

pyOpenRPA.Tools.StopSafe.Init(inLogger=None)[source]

Init the StopSafe module. After that you can use def IsStopSafe() to check if close signal has come.

Parameters

inLogger – Logger to log messages about StopSafe

Returns

pyOpenRPA.Tools.StopSafe.IsStopSafe()[source]

Check if stop signal has come.

Returns