Runs an executable
With murex, like most other shells, you launch a process by calling the name of that executable directly. While this is suitable 99% of the time, occasionally you might run into an edge case where that wouldn’t work. The primary reason being if you needed to launch a process from a variable, eg
» set exe=uname » $exe uname
As you can see here, murex’s behavior here is to output the contents of the variable rather then executing the contents of the variable. This is done for safety reasons, however if you wanted to override that behavior then you could prefix the variable with exec:
» set exe=uname » exec $exe Linux
<stdin> -> exec <stdin> -> exec -> <stdout> exec -> <stdout>
» exec printf "Hello, world!" Hello, world!
If any command doesn’t exist as a builtin, function nor alias, then murex will default to forking out to any command with this name (subject to an absolute path or the order of precedence in
$PATH). Any forked process will show up in both the operating systems process viewer (eg
ps) but also murex’s own process viewer,
fid-list. However inside
fid-list you will notice that all external processes are listed as
exec with the process name as part of
exec’s parameters. That is because that is literally how murex handles any programs that aren’t native to murex.
=(arithmetic evaluation): Evaluate a mathematical function
bexists: Check which builtins exist
bg: Run processes in the background
builtins: Returns runtime information on the internal state of murex
fg: Sends a background process into the foreground
fid-kill: Terminate a running murex function
fid-killall: Terminate all running murex functions
fid-list: Lists all running functions within the current murex session
jobs: Lists all running functions within the current murex session
let: Evaluate a mathematical function and assign to variable
murex-update-exe-list: Forces murex to rescan $PATH looking for exectables
set: Define a local variable and set it’s value
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 Thu Oct 13 08:08:18 UTC 2022 against commit ed6b6fced6b6fc609f4be93c5d3348695a762facfecf48f.
Current version is 2.11.2200 which has been verified against 16798 tests cases.