On Tue, Nov 7, 2017 at 11:45 PM, Chip Scheide via 4D_Tech <
[email protected]> wrote:
>
> SET ENVIRONMENT
> VARIABLE("_4D_OPTION_BLOCKING_EXTERNAL_PROCESS";"true") // wait for it
> to finish
> LAUNCH EXTERNAL PROCESS("cmd.exe /K
> "+$Batch_File_Path;$LEP_Input;$LEP_Output;$LEP_Error)
>
> -- $Batch_File_Path - contains the path to the batch file to be
> executed, it lives in (4D Command:Temporary Folder)
> C:\users\appdata\<something>\temp directory, (I have verified that this
> path is correct, and that the file exists at this location)
>
Could it be that $Batch_File_Path contains a space? Did you try
LAUNCH EXTERNAL PROCESS("cmd.exe /K \""+$Batch_File_Path+"\"";$LEP_Input;
$LEP_Output;$LEP_Error)
--
Peter Bozek
**********************************************************************
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:[email protected]
**********************************************************************