any tricks to make SHELL non blocking?
Dr. Hawkins
dochawk at gmail.com
Fri Feb 2 22:21:31 EST 2018
On Fri, Feb 2, 2018 at 1:41 PM, Klaus major-k via use-livecode <
use-livecode at 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
More information about the use-livecode
mailing list