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 Jul 2 22:12:32 UTC 2025 against commit bb72b6fbb72b6fdd502f835172d7d06207ba4ec2c70886c.
Current version is 7.0.2107 (develop) which has been verified against tests cases.