I have tried all of the offered suggestions:
Start ?b
running without a call to cmd
\batchfilename\
  extended this to cover the file paths in the batch file

none of these result in file copying when started with LEP.
HOWEVER the batch file contains a redirect of stderr to a disk file, 
when run though LEP the error file is created.
The error file is empty... but it is created.
SO.. LEP is actually executing the batch file, just not doing anything.

any more ideas??
Thanks
Chip

On Wed, 8 Nov 2017 09:54:26 +0100, Peter Bozek wrote:
> 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
---------------
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:[email protected]
**********************************************************************

Reply via email to