> From: Sherlock, Ric
> 
> Perhaps with some minor changes to task.ijs cross-platform use of the
> verbs fork, spawn, shell and launch can replace various handlings
> 
> * Leave the Windows implementations as they are.
> * Change 1st line of definition of fork from
>    fork=: (3 : 0)`(2!:1)@.IFUNIX
> to
>    fork=: (3 : 0)`([: 2!:1 '(' , ')&' ,~ ])@.IFUNIX
> 
> * Change 1st line of definition of spawn from
>    spawn=: (3 : 0)`(2!:0...@])@.IFUNIX
> to
>    spawn=: (3 : 0)`([: 2!:1 '(' , ' || true)' ,~ ])@.IFUNIX
> 
> Discussion solicited!

Blast!
I meant to write:
* Change 1st line of definition of spawn from
   spawn=: (3 : 0)`(2!:0...@])@.IFUNIX
to
   spawn=: (3 : 0)`([: 2!:0 '(' , ' || true)' ,~ ])@.IFUNIX

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to