any tricks to make SHELL non blocking?

hh hh at hyperhh.de
Fri Feb 2 17:53:05 EST 2018


This is non-blocking:

put tCommandLineUtility && q(tGeneratedFile) into p0
open process p0 for neither -- no need to close that

Don't use quotes for the utility.
You have no feedback with that. That's the advantage of shell.

> Klaus M. wrote:
> Hi friends,
> I have a command line utility which will process a generated file like:
> ...
> get shell(q(tCommandLineUtility) && q(tGeneratedFile))
> ...
> FYI:
> function q tString
>  return QUOTE & tString & QUOTE
> end q
> Any hints on how to make this NON blocking somehow?
> I need a solution for Mac and Win.
> Thanks for any hint.




More information about the Use-livecode mailing list