A customer of mine recently upgraded his MacBook Pro to MacOS Mojave.

He is running a stand-alone 4D app, compiled with 4D v15.4. This app has been 
installed in the ‘Applications’ folder, which is not inside the 
/Users/Username/ folder, but in Macintosh HD/Applications.

Now, in the application, I allow the user to open documents (pdf, .docx, .jpg 
etc) using the document's native application.
In order to do that, I use LAUNCH EXTERNAL PROCESS.

This worked perfectly until now. Now, In Mojave, it takes at least 30 seconds 
to open a pdf document. (in High Sierra, this was < 1 second)

The syntax I use is:

LAUNCH EXTERNAL PROCESS($command;$IN;$OUT;$ERROR)

where:

$command = “open 
/Applications//Xpert_PRO/XPP_DOSSIER_FOLDER/DOS_Le18000142/MyPDFdocument.pdf”
$IN = “”
$OUT = “”
$ERROR = “”

Has anyone else experienced this? Do I need to change the command in LEP?
Would it help if my customer moves the app to the folder ‘/Users / UserName / 
Applications’ ?

Since I don’t have Mojave installed on my Mac yet, I can’t actually test it. In 
fact, I don’t want to upgrade yet because I need to support 4D v15…


Regards,

Rudy Mortier
Two Way Communications bvba 

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to