(please also review the release notes for v359-v360)
Hijack v361 is now released.
-- new
reimplemented
;@EXEC and
;@EXEC_ONCE macros. These now prefix the command string with "
/bin/sh -c exec ", and pass /dev/null as stdin and /dev/console as stdout/stderr.
-- new kftpd
SITE EXEC command, works same as above. Command output is NOT returned to the client, but the shell's exit status
is returned as an indication of success/failure of the command string.
-- new
;@MENUEXEC macro to bind commands to the Hijack menu. Syntax is:
;@MENUEXEC menu_item_name commandline..
Go ahead and try it, but the actual commands are never executed in v361 -- haven't done that tricky bit yet (command exec requires a process, and the Hijack menu runs as an interrupt handler, not a process, so.. some work to do there yet).
Also, note that with the introduction of the
/bin/sh prefix for all of the various EXEC situations, one can now use any shell extensions on the command line for pipes, I/O redirection, etc..
Cheers