Thank you, good to know.
Even I have re-worked it into lisp in the meantime. I will do next
time with execlineb.
Jean
On Fri, Dec 30, 2016 at 04:55:40PM +, Laurent Bercot wrote:
> > if { redirfd -u 1 /proc/sys/fs/binfmt_misc/register s6-echo
> > ':CLISP1:E::cl::/usr/bin/clisp:' }
>
> ' is
if { redirfd -u 1 /proc/sys/fs/binfmt_misc/register s6-echo
':CLISP1:E::cl::/usr/bin/clisp:' }
' is not a special character to execline, so it gets written as is.
Remove the single quotes around your strings, or replace them with
double quotes.
--
Laurent
I have this /etc/s6-rc/services/enable-lisp oneshot service, that I
wish to run on startup. It depends on mountfs where binfmt_misc file
system is mounted. It helps me run the executable lisp programs
directly.
This one gives me error:
if { redirfd -u 1 /proc/sys/fs/binfmt_misc/register s6-echo