any tricks to make SHELL non blocking?

Klaus major-k klaus at major-k.de
Fri Feb 2 17:55:51 EST 2018


Hello Hermann,

> Am 02.02.2018 um 23:53 schrieb hh via use-livecode <use-livecode at lists.runrev.com>:
> 
> 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.

great, thank you, will try this tomorrow!

>> 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.

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the Use-livecode mailing list