G’day Cannon,
> On 24 Apr 2018, at 24:06 AEST, Cannon Smith via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Just wondering if anyone else is using this and has run into the same issue? > Any workarounds? Try this instead: IF ($Platform = Mac OS) $Command:="sysctl hw |grep 64bit" ELSE // SET ENVIRONMENT VARIABLE("_4D_OPTION_HIDE_CONSOLE";"true") $Command:="cmd.exe /C wmic computersystem get systemtype /value" END IF LAUNCH EXTERNAL PROCESS($Command;$In;$Out) $Out returns for example: Mac hw.cpu64bit_capable: 1 (or 0 for NO) Windows SystemType=x64-based PC As alternative or in addition you can use: Mac $command:="sysctl -n machdep.cpu.brand_string” $Out: Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz // CPU-reference table needed Windows $Command:="cmd.exe /C wmic cpu get AddressWidth, Caption, DataWidth /value” $Out: AddressWidth=64 Caption=Intel64 Family 6 Model 42 Stepping 7 DataWidth=64 HTH Cheers Jörg Regards Jörg Knebel, M.Eng. - 4D Developer since 1991 TTT Data Systems Pty Ltd Phone: +61 (0)2 6601 7453 www.tttdatasystems.com.au <http://www.tttdatasystems.com.au/> ********************************************************************** 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 **********************************************************************