Re: any tricks to make SHELL non blocking?

On Fri, Feb 2, 2018 at 1:41 PM, Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> Any hints on how to make this NON blocking somehow?
> I need a solution for Mac and Win.
>
> I don''t know  about darkside machines, but on  \begin{condescending
snark} mac and other real operating systems \end{snark}, you can launch
commands into the background by suffixing  with  &

You may (or may not; it was years ago) need to enclose the command  in
parenthesis, which makes the whole parenthetical a block.  You might also
need to redirect output.

so

shell ( "(domycommand > myoutput &)"  )

or something like that, and come back later to check myoutput

--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com