LAUNCH EXTERNAL PROCESS

2023-07-20 Thread stardata.info via 4D_Tech
I all, I use 4D V16 on windows and i need to use this dos command, but the code below not work, have suggestions? $vPathPart:="C:\\UNO\\" $vPathArri:="C:\\DUE\\" $vEstFile:="TXT"    $vCommand:="move "+$vPathPart+"*."+$vEstFile+"

Re: Mac LAUNCH EXTERNAL PROCESS permissions issue

2020-04-03 Thread John DeSoi via 4D_Tech
Same error. Thanks for the idea. John DeSoi, Ph.D. > On Apr 2, 2020, at 11:55 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > just guessing, but what if you add /usr/bin/tmutil to full disk access? ** 4D

Re: Mac LAUNCH EXTERNAL PROCESS permissions issue

2020-04-02 Thread Keisuke Miyako via 4D_Tech
retry: https://imgur.com/yTBkpke 2020/04/03 13:55、Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com>のメール: https://imgur.com/undefined ** 4D Internet Users Group (4D iNUG) Archive:

Re: Mac LAUNCH EXTERNAL PROCESS permissions issue

2020-04-02 Thread Keisuke Miyako via 4D_Tech
just guessing, but what if you add /usr/bin/tmutil to full disk access? https://imgur.com/undefined ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options:

Mac LAUNCH EXTERNAL PROCESS permissions issue

2020-04-02 Thread John DeSoi via 4D_Tech
I upgraded a single user merged application from 17R6 to 18R2 (project mode). It is signed with a developer certificate. I can launch a time machine backup with "tmutil startbackup --auto", but if I try to find out when the last backup happened using "tmutil latestbackup", I get this error back

Re: LAUNCH EXTERNAL PROCESS, v15, on MacOS Mojave

2018-11-20 Thread Keisuke Miyako via 4D_Tech
for sure you can open word or excel documents. what you can't do is specify which version of Word (if there are multiple installations) is launched. 2018/11/20 18:42、Two Way Communications via 4D_Tech <4d_tech@lists.4d.com>のメール: Yes, I could. But sometimes it

Re: LAUNCH EXTERNAL PROCESS, v15, on MacOS Mojave

2018-11-20 Thread Two Way Communications via 4D_Tech
d.com<mailto:4d_tech@lists.4d.com>>のメール: > > The syntax I use is: > > LAUNCH EXTERNAL PROCESS($command;$IN;$OUT;$ERROR) > > where: > > $command = “open > /Applications//

Re: LAUNCH EXTERNAL PROCESS, v15, on MacOS Mojave

2018-11-19 Thread Keisuke Miyako via 4D_Tech
メール: 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 = “” ** 4D Internet Users G

LAUNCH EXTERNAL PROCESS, v15, on MacOS Mojave

2018-11-19 Thread Two Way Communications via 4D_Tech
, 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 sec

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

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

Re: Strange problem with v16 and Launch External Process in a component (solved - user error)

2017-12-04 Thread Adrian Boone via 4D_Tech
EXTERNAL PROCESS($cmd;$in;$out;$err) Lots of bugs have been fixed since 16.0. Have you tried 16.2? John DeSoi, Ph.D. On Dec 4, 2017, at 10:36 AM, Adrian Boone via 4D_Tech <4d_tech@lists.4d.com> wrote: We have a component which uses Launch External Process to call an accountancy p

Re: Strange problem with v16 and Launch External Process in a component

2017-12-04 Thread Chip Scheide via 4D_Tech
7 16:36:52 +, 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

Re: Strange problem with v16 and Launch External Process in a component

2017-12-04 Thread John DeSoi via 4D_Tech
Anything unusual about the LEP call -- just using locals and specifying all of them? That alone should make it execute in blocking mode. E.g. LAUNCH EXTERNAL PROCESS($cmd;$in;$out;$err) Lots of bugs have been fixed since 16.0. Have you tried 16.2? John DeSoi, Ph.D. > On Dec 4, 2017, at 10

Strange problem with v16 and Launch External Process in a component

2017-12-04 Thread Adrian Boone via 4D_Tech
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

Re: Problem launching a bat file via LAUNCH EXTERNAL PROCESS

2016-12-29 Thread Neil Dennis
> Any idea why this is working on one computer but not another? What error is returned in the error parameter from the Launch External Process? Neil -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software for the Way You Work 716 East 1850 N North Ogden, UT 84414 mailto:np

Problem launching a bat file via LAUNCH EXTERNAL PROCESS

2016-12-29 Thread David Rose
RECTORY";"mybatfilefolder") SET ENVIRONMENT VARIABLE("_4D_OPTION_HIDE_CONSOLE";SW_SHOW) LAUNCH EXTERNAL PROCESS("c:\\Windows\\System32\\cmd.exe /C mybatfile.bat" The cmd.exe application file is set to always run as administrator. Any idea why this