bg
)Run processes in the background
bg
supports two modes: it can either be run as a
function block which will execute in the background, or it can take
stopped processes and daemonize them.
POSIX only:
bg { code block }
bg fid
bg { sleep 5; out "Morning" }
The examples above will work on any system (Windows included).
However the ctrl+z
usage of backgrounding a stopped process
(like Bash) is only supported on POSIX systems due to the limitation of
required signals on non-platforms. This means the usage described in the
examples is cross cross platform while bg int
currently
does not work on Windows nor Plan 9.
bg
fid-list
): Lists all running functions within the
current Murex sessionjobs
): Lists all running functions within the current
Murex sessionexec
): Runs an executablefg
): Sends a background process into the
foregroundfid-killall
): Terminate all running Murex functions in
current sessionfid-kill
): Terminate a running Murex functionThis document was generated from builtins/core/processes/bgfg_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 Jan 15 23:07:50 UTC 2025 against commit b4c4296b4c429617fd41527ea0efef33c52c15ef2b64972.
Current version is 6.4.2063 (develop) which has been verified against tests cases.