I'm running ubuntu 10.10, 64 bit with j701/2011-01-10/11:25

if the exit status of the command run  by 2!:0 is non-zero then
JHS returns 'interface error' in the browser.

So running
files =:   2!:0'find / -name testfile 2>/dev/null'
returns a result to JHS only if run as root.
Otherwise it's an interface error.

Running commands in a subshell is a workaround
   files=: 2!:0'(find / -name testfile >/tmp/abcd); cat /tmp/abcd'
but this does seem a pity

Is 2!:1 supposed to work in JHS?

2!:2 'pwd'
crashes both jgtk and jhs.

Regards
David
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to