any tricks to make SHELL non blocking?

Paul Dupuis paul at researchware.com
Fri Feb 2 17:36:42 EST 2018


I don't think you can use shell as non-blocking. You could use 'open
process' to spawn your command line utility off as a subprocess which
would be non blocking, but that approach has its own over head thing to
work around


On 2/2/2018 4:41 PM, Klaus major-k via use-livecode 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.
>
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> klaus at major-k.de
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>





More information about the use-livecode mailing list