Hi all. I am trying to formulate a LEP command from 4D v17.0HF3 Win on Win7 (although it will be deployed on Win Server 2016).
The idea is to quit Chrome from within 4D. After lots of Google searches I have tried (in my development version) $Command_t:="TASKKILL /IM /t chrome.exe" SET ENVIRONMENT VARIABLE("_4D_OPTION_HIDE_CONSOLE";"true") SET ENVIRONMENT VARIABLE("_4D_OPTION_BLOCKING_EXTERNAL_PROCESS";"false") LAUNCH EXTERNAL PROCESS($Command_t) and $Command_t:="cmd.exe /TASKKILL /IM /t chrome.exe" SET ENVIRONMENT VARIABLE("_4D_OPTION_HIDE_CONSOLE”;"false") SET ENVIRONMENT VARIABLE("_4D_OPTION_BLOCKING_EXTERNAL_PROCESS";"false") LAUNCH EXTERNAL PROCESS($Command_t) Neither has any effect - Chrome stays running. If I show the console with SET ENVIRONMENT VARIABLE("_4D_OPTION_HIDE_CONSOLE";"false”) it flashes open and then is gone before anything can be seen. Can anyone advise me what I’m doing wrong? TIA, Keith ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************