If you don't need the output of the new process, try fork_jtask_

On Fri, Dec 13, 2019, 9:56 PM 'Mike Day' via Programming <
[email protected]> wrote:

> I've just tried firing up a spreadsheet from J,  and appear to find that
> J has to wait for
> the spreadsheet to be closed  before the JQT terminal session can proceed.
>
> Specifically, if I enter the following from the terminal:
>     shell_jtask_ 'c:/d/j901/user/temp/test1.ods'     NB. Open Office
> document
>
> the cursor hangs at that line until I close the spreadsheet cleanly or
> messily using
> taskmaster.
>
> Odd perhaps,  as shell is a cover for spawn:
> ''&$: :(spawn ('cmd /c ' , ]))
>
>
> and MSDOS help tells me that cmd/c terminates:
>
> "
>
> C:\Windows\System32>cmd/?
> Starts a new instance of the Windows command interpreter
>
> CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF]
>      [[/S] [/C | /K] string]
>
> /C      Carries out the command specified by string and then terminates
>
> "
>
>
> Not too important for me - just puzzling.
>
>
> Thanks,
>
>
> Mike
>
>
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to