sleep
Suspends the shell for a number of seconds
sleep
is an optional builtin which suspends the shell
for a defined number of seconds.
sleep integer
» sleep 5
# murex sleeps for 5 seconds
sleep
is very simplistic - particularly when compared to
its GNU coreutil (for example) counterpart. If you want to use the
sleep
binary on Linux or similar platforms then you will
need to launch with the exec
builtin:
» exec sleep 5
exec
): Runs an executablesource
): Import Murex code from another file or code
blocktime
): Returns the execution run time of a command or
blockThis document was generated from builtins/optional/time/sleep_doc.yaml.
This site's content is rebuilt automatically from murex's source code after each merge to the master
branch. Downloadable murex binaries are also built with the website.
Last built on Wed Jul 2 22:12:32 UTC 2025 against commit bb72b6fbb72b6fdd502f835172d7d06207ba4ec2c70886c.
Current version is 7.0.2107 (develop) which has been verified against tests cases.