On 2020-09-28 13:44, Thomas Bulka wrote:
Hi Chris,
thank you very much for your efforts, but unfortunately it does not
seem to work for me. I think, I have a recent pandoc installed:
% pandoc --version
pandoc 2.10.1
Compiled with pandoc-types 1.21, texmath 0.12.0.2, skylighting 0.8.5
Default user data directory: /Users/thomasbulka/.local/share/pandoc or
/Users/thomasbulka/.pandoc
Copyright (C) 2006-2020 John MacFarlane
When I try to execute the test cases as described above, I get more or
less the same error message as before:
load 'docs/joxygen/test'
reading: compare.ijs
|interface error: spawn
| shell'pandoc "',src,'" -c "joxygen.css" -s -t html5 -V lang=en
-f markdown-auto_identifiers -o "',tgt,'"'
|[-34] /applications/j902/addons/docs/joxygen/test.ijs
Is there anything else I can do?
shell =: shell_jtask_ [ echo
load 'docs/joxygen/test'
reading: compare.ijs
pandoc "/home/jfondren/j902-user/temp/joxygen.md" -c "joxygen.css" -f
markdown-auto_identifiers -o "/home/jfondren/j902-user/temp/joxygen.htm"
reading: dir.ijs
pandoc "/home/jfondren/j902-user/temp/joxygen.md" -c "joxygen.css" -f
markdown-auto_identifiers -o "/home/jfondren/j902-user/temp/joxygen.htm"
reading: text.ijs
pandoc "/home/jfondren/j902-user/temp/joxygen.md" -c "joxygen.css" -f
markdown-auto_identifiers -o "/home/jfondren/j902-user/temp/joxygen.htm"
pandoc "/home/jfondren/j902-user/temp/joxygen.md" -c "joxygen.css" -f
markdown-auto_identifiers -o "/home/jfondren/j902-user/temp/joxygen.htm"
That first line replaces shell_z_ with a fork that echos the
command it's given before going on to spawn it like normal.
You can then try the exact commands that you see echoed in
a terminal, and see if they work there.
Note that J requires a 0 status code:
2!:0 'true'
2!:0 'false'
|interface error
| 2!:0'false'
So if a command works interactively, check the status code
after running it.
$ true
$ echo $?
0
$ false
$ echo $?
1
If that still reveals no problems, maybe the terminal and J
are using different shells?
2!:0 'echo $0'
/bin/sh
Regards,
Thomas
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm