Re: LAUNCH EXTERNAL PROCESS AND _4D_OPTION_STOP_TOKEN

2018-04-07 Thread Keisuke Miyako via 4D_Tech
Hello,

you can pass any number of arbitrary environment variables to your external 
process,
but of course it is the responsibility of the external application to read them 
and to actually use them.

"_4D_OPTION_STOP_TOKEN" is not a built-in reserved by 4D,
he was simply following the naming convention used by 4D for his custom 
parameters.

it will only make sense when used together with his script.

2018/04/07 9:15、David Garrard via 4D_Tech 
<4d_tech@lists.4d.com> のメール:
From what I can tell using the " _4D_OPTION_STOP_TOKEN" as parameter one of
SET ENVIRONMENT VARIABLE is not functioning on Windows.
Does anyone have any proof that a stop token is ever created?  I have not
seen one.



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

LAUNCH EXTERNAL PROCESS AND _4D_OPTION_STOP_TOKEN

2018-04-07 Thread David Garrard via 4D_Tech
I am trying to get code that was posted in 2012 by Peter Lerch here:

 

http://4d.1045681.n5.nabble.com/Playing-nice-with-Launch-External-Process-td
5715184.html

 

to function on Windows 10 running 4D v16.3.

 

From what I can tell using the " _4D_OPTION_STOP_TOKEN" as parameter one of
SET ENVIRONMENT VARIABLE is not functioning on Windows.  

 

Does anyone have any proof that a stop token is ever created?  I have not
seen one.  

 

I wish to use the SET ENVIRONMENT
VARIABLE("_4D_OPTION_BLOCKING_EXTERNAL_PROCESS";"false") option to control
the locking up of 4D, but need a waiting system.  Peter's code looked
perfect the job, but maybe only functions on a Mac?

 

TIA,

 

David 

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**