fid-kill
Less than 1 minute
fid-kill
Terminate a running Murex function
Description
fid-kill
will terminate a running Murex function in a similar way that the POSIX kill
(superficially speaking).
Usage
fid-kill fid
Detail
fid-kill
doesn't send a kernel signal to the process since Murex is a multi-threaded shell with a single signal, fid-kill
will send a cancellation context to any builtins executing (which covers builtins, aliases, public and private functions and any external executables running which were launched within the current Murex shell).
The FID (function ID) sent is not the same as a POSIX (eg Linux, macOS, BSD) PID (process ID). You can obtain a FID from fid-list
.
See Also
bexists
: Check which builtins existbg
: Run processes in the backgroundbuiltins
: Returns runtime information on the internal state of Murexexec
: Runs an executablefexec
: Execute a command or function, bypassing the usual order of precedence.fg
: Sends a background process into the foregroundfid-killall
: Terminate all running Murex functionsfid-list
: Lists all running functions within the current Murex sessionjobs
: Lists all running functions within the current Murex sessionmurex-update-exe-list
: Forces Murex to rescan $PATH looking for executables