There may be a bug in 2!:1 but Eric said that wouldn't be fixed. Try

2!:1 JEXE, xlfnm, ' &'

if it still fails, try if at command available,

2!:1 'echo ',JEXE, xlfnm, ' | at now'

Чтв, 07 Апр 2011, Aai писал(а):
> Hi Devon,
> 
> I tried to run this interesting example in Linux. So far I had to change:
> 
> JEXE  (of course) into:
> 
> JEXE=: jpath '~/j701/bin/jconsole '
> 
> and the template line
> 
> 'ni nspi'=. y [ sttime=. 6!:1 '' [ 9!:1] '''{randseed}''' [ max=. 2147483647
> 
> into
> 
> 'ni nspi'=. y [ sttime=. 6!:1 '' [ 9!:1] {randseed} [ max=. 2147483647
> 
> But
> 
>     fork JEXE, xflnm
> 
> waits until finished.
> 
> The results are ok, e.g. (params template: 10 1e5):
> 
>         10   100000 1.45187e9 1.88214e9
> 7.80354e8 2.0112e9 2.00163e9 6.42693e8
>       26.5     38.5   30.0349   1.90047
>       26.5     37.5   30.0383   1.89869
>       26.5     37.5   30.0376   1.89592
>       26.5     37.5    30.053   1.90099
>       26.5       38   30.0373   1.89206
>       26.5       38   30.0314   1.89761
>       26.5       38   30.0401   1.89232
>       26.5       39   30.0375   1.90335
>       26.5       38   30.0446    1.8974
>       26.5       38   30.0443   1.89716
> 2.14314e9  8.169e8 1.30083e9   40.0226
> 
> 
> What do I need to know to let 'fork xxxxx' be executed without waiting until 
> done?
> 
> Tested also
>    fork 'kwrite'
> 
> with the same result: wait until exit 'kwrite'.
> 
>     JVERSION
> Engine: j701/2011-01-10/11:25
> Library: 7.01.048
> Platform: Linux 32
> Installer: j701a_linux32.sh
> 
> 
> 
> 
> TIA
> 
> 
> Hallo Devon McCormick, je schreef op 04-04-11 06:24:
> > I've posted some work I've done recently on calculating the score obtained
> > by using a simple strategy in the "Red or Black" game about which there was
> > some traffic on the forum a month or so ago:
> > http://www.jsoftware.com/jwiki/NYCJUG/2011-04-12/RedOrBlackGameSimulation  .
> >
> 
> -- 
> Met vriendelijke groet,
> =@@i
> 
> ----------------------------------------------------------------------
> 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