no ideas - but I ran into similar issues in v13, on windows. LEP calls to OS for file level actions (copy, rename etc) everything empty, everything "OK" - not so much. Run *same* exact command line code from cmd.exe everything worked as expected.
On Mac - no issue. On Mon, 4 Dec 2017 16:36:52 +0000, Adrian Boone via 4D_Tech wrote: > Hi all, > > We have a component which uses Launch External Process to call an > accountancy package (Moneyworks) via the command line (Windows and > Mac), and have just recompiled it for v16 (that's another story...). > Now, when any component methods which use LEP (i.e. most of them) are > called from another method in my test database, they always return > ok, and the output and error variables are always empty. There's no > noticeable delay in the debugger so it looks like the LEP call simply > isn't happening? > > Now for the really weird part, I have a form with some common test > methods linked to some of the buttons - if I call the exact same code > with the same parameters from a button on the form, it works! > > If I open the source code for the component, the methods all work > fine. I've tried setting the _4D_OPTION_BLOCKING_EXTERNAL_PROCESS > environment variable to both "true" (which is what I want) and > "false" immediately before the LEP call in the component, but it > makes no difference. > > This is happening on Windows 10, with v16.0 64-bit, v16.2 32 bit, and > with the component compiled for just 32-bit, just 64-bit, or both. > > Any bright ideas out there? > > Thanks, > Adrian > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** --------------- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************