try create a script foo.ijs containing

2!:1 'sleep 5;firefox http://localhost:65001/jijx &'
load '~addons/ide/jhs/core.ijs'
init_jhs_''

then start jhs by

jconsole foo.ijs

Втр, 03 Янв 2012, Raul Miller писал(а):
> If URL_jhs_ were a url, then perhaps:
> 
>   ... -js " init_jhs_'' [ 9!:29##9!:27'browse_j_ URL_jhs_' "
> 
> But I tried (and this was all on one line when I pasted it in):
> 
>   ... -js " init_jhs_'' [ 9!:29##9!:27 'browse_j_
> ''http://127.0.0.1:65001/jijx''' "
> 
> and it did not work
> 
> -- 
> Raul
> 
> 
> On Thu, Dec 29, 2011 at 9:05 AM, bill lam <bbill....@gmail.com> wrote:
> > On a second look.
> >
> >  ... -js " browse_j_ URL_jhs_ [] init_jhs_'' "
> >
> > init_jhs_'' contains an infinite loop to poll socket so that the browse_j_
> > never get executed.  What if interchange the sequence?  There is a race
> > condition depending on whether the browser will time out before jhs can
> > accept socket connection.
> >
> > --
> > 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
> ----------------------------------------------------------------------
> 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