I tested in jconsole that 2!:2 worked on J32 but crashed on J64.

2!:0 and 2!:1 are executed at server side, but jhs at jsoftware seemed
running on a jailed account so that there is not many too commands 
available for 2!:0 or 2!:1 to run. 

Сбт, 22 Янв 2011, david alis писал(а):
> 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

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to