2 Oct 2008 03:09
Re: Launch External Process followup question for Windows XP (twist)
On Wed, Oct 1, 2008 at 5:41 AM, Julio Carneiro <jjfourd@...> wrote: > There is an undocumented behaviour in LEP (for versions up to 2004): > a) if you execute LEP(command;in;out;err) the command is executed > synchronously, that is the 4D process waits for the command to complete. > b) if you execute LEP(command), the command is executed asynchronously, that > is, control resumes to 4D immediately while the command continues executing. Hmmmm, I'm not seeing that behavior in 4D 2004.7r3. The command executes synchronously for me either way. On a related note, I'm also looking for a way to get output before the command completes execution. I'm doing an rsync that may take awhile to execute and want to get in-progress status. I had thought I could append: $Command_t:=$Command_t+" > "+$output_file_path_t+" &" to my rsync command to have it write the output to a text file, but it doesn't seem to work anymore. -- Justin Leavens, President Just In Time Consulting, Inc. justin@... / (818) 986-7298 phone / (818) 474-8580 fax 4D Consulting, AcctVantage/A4/Foresight Financials Specialist, Certified Apple Consultant www.justintimebusiness.com ********************************************************************** 4D Server v11 SQL has arrived! Buy it NOW at http://store.4ddepot.com 4th Dimension Internet Users Group (4D iNUG) FAQ: http://www.4d.com/support/faqnug.html Archive: http://dir.gmane.org/gmane.comp.lang.inug-4d.tech Unsub: mailto:4D_Tech-Unsubscribe@... Post: mailto:4d_tech@... Options: https://lists.4d.com/mailman/listinfo/4d_tech **********************************************************************
RSS Feed