fexec
)Execute a command or function, bypassing the usual order of precedence.
fexec
allows you to execute a command or function,
bypassing the usual order of precedence.
fexec flag command [ parameters... ] -> <stdout>
fexec private /source/builtin/autocomplete.alias
builtin
Execute a Murex builtinfunction
Execute a Murex public functionhelp
Display help messageprivate
Execute a Murex private functionThere is an order of precedence for which commands are looked up:
runmode
: this is executed before the rest of the
script. It is invoked by the pre-compiler forking process and is
required to sit at the top of any scripts.test
and pipe
functions also alter the
behavior of the compiler and thus are executed ahead of any
scripts.private
. Private’s
cannot be global and are scoped only to the module or source that
defined them. For example, You cannot call a private function directly
from the interactive command line (however you can force an indirect
call via fexec
).alias
. All aliases are
global.function
. All
functions are global.global
, set
or let
. Also
environmental variables too, declared via export
.You can override this order of precedence via the fexec
and exec
builtins.
For compatibility with traditional shells like Bash and Zsh,
builtin
is an alias to fexec builtin
fexec
builtin
exec.builtin
exec.function
exec.private
alias
): Create an alias for a commandbg
): Run processes in the backgroundjobs
): Lists all running functions within the current
Murex sessionexec
): Runs an executablefg
): Sends a background process into the
foregroundsource
): Import Murex code from another file or code
blockevent
): Event driven programming for shell
scriptsopen
):
Open a file with a preferred handlerprivate
): Define a private function blockfunction
): Define a function blockbuiltins
): Returns runtime information on the internal
state of Murexautocomplete
): Set definitions for tab-completion in
the command lineThis document was generated from builtins/core/management/fexec_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.