mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
parent
491acb62ea
commit
12ea2a6445
@ -26,6 +26,7 @@ escape\_shell\_arg(text) | Escapes a string for use as a single shell arg
|
|||||||
escape\_shell\_cmd(text) | Escapes shell meta characters in a string.
|
escape\_shell\_cmd(text) | Escapes shell meta characters in a string.
|
||||||
escape\_create\_process\_arg(text)| (Windows only) Escapes a string for use as an argument for CreateProcess().
|
escape\_create\_process\_arg(text)| (Windows only) Escapes a string for use as an argument for CreateProcess().
|
||||||
exit(integer) | Terminates the application.
|
exit(integer) | Terminates the application.
|
||||||
|
sleep(interval) | Sleeps for the specified amount of time (in seconds).
|
||||||
|
|
||||||
## <a id="object-accessor-functions"></a> Object Accessor Functions
|
## <a id="object-accessor-functions"></a> Object Accessor Functions
|
||||||
|
|
||||||
|
@ -66,6 +66,7 @@ REGISTER_SAFE_SCRIPTFUNCTION_NS(System, escape_shell_arg, &Utility::EscapeShellA
|
|||||||
REGISTER_SAFE_SCRIPTFUNCTION_NS(System, escape_create_process_arg, &Utility::EscapeCreateProcessArg);
|
REGISTER_SAFE_SCRIPTFUNCTION_NS(System, escape_create_process_arg, &Utility::EscapeCreateProcessArg);
|
||||||
#endif /* _WIN32 */
|
#endif /* _WIN32 */
|
||||||
REGISTER_SCRIPTFUNCTION_NS(System, ptr, &ScriptUtils::Ptr);
|
REGISTER_SCRIPTFUNCTION_NS(System, ptr, &ScriptUtils::Ptr);
|
||||||
|
REGISTER_SCRIPTFUNCTION_NS(System, sleep, &Utility::Sleep);
|
||||||
|
|
||||||
String ScriptUtils::CastString(const Value& value)
|
String ScriptUtils::CastString(const Value& value)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user