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
Well, there is at least an indication of an error in Linux when its fork verb
fails. It is not as sophisticated as the values returned by the Windows
ShellExecute facility but it seems as if this could be used to at least
determine if the forked task in Linux had some level of success:
I agree that fork_jtask_ is over-skill for browse and shellexecute is a
simpler way to do it. But I still unsure if returning an error code for
browse could be helpful because,
1. there should already enough or lack of visual feedback to indicate error had
occurred.
2. the gtkide itself cannot do
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
The link http://www.jsoftware.com/overview.htm; on the beta download page
http://www.jsoftware.com/beta.htm; appears to be broken.
--
For information about J forums see http://www.jsoftware.com/forums.htm