Try, eg,

2!:1 'firefox &'

Пнд, 09 Янв 2012, Ian Clark писал(а):
> AFAICS  the purpose of 2!:1 (spawn) is to launch an asynchronous
> process, eg a separate, parallel J session, and resume immediately it
> is launched. Am I right?
> 
> On my Mac it doesn't do that. (I can't establish what it does under
> Windows because I don't have a Windows machine just now).
> 
> Sure, it starts the specified process, but then the original J session
> freezes solid until the spawned process terminates. This behavior is
> no different from 2!:0 except to discard any returned value.
> 
> Absence of this facility is preventing me from doing a lot of the
> things I want to. In particular I can't play a sound without my app
> hanging until the sound has finished playing. Nor can I write a server
> in J and have it fire off a client. I have to launch the client
> manually.
> 
> Has nobody reported this behavior before? Any chance of getting it
> fixed? Anyone know a workaround (such as a dll/dylib call)?
> 
>    JVERSION
> Installer: j602a_mac_intel.dmg
> Engine: j602/2008-03-03/16:45
> Library: 6.02.057
> 
>    JVERSION
> Engine: j701/2011-01-10/11:25 build: Feb  6 2011 16:16:29
> Library: 7.01.052
> Platform: Darwin 64
> Installer: j701a_mac64.dmg
> 
> InstallPath: /Applications/j64-701
> ----------------------------------------------------------------------
> 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