

Am I correct in understanding that -xshell- on Mac does both of the following?ġ. That's not necessary, and not desirable as the information in the Results window about which iteration of the loop we are on will scroll off the screen.įrom the documentation, it looks to me as if the -xshell- command is what I need. According to the Stata documentation, -shell-, when run on Mac, will redirect all those progress reports from the C++ program to the Results window. Since each iteration of the loop could, in principle, be done independently of all the others, I have persuaded some colleagues to let me run this on their computers, dividing up the work. I now need to run a script similar to this, but where the number of iterations of the loop is going to be very large and the total execution time will be measured in months. Those progress reports are of no value once the program has completed, and they disappear with the -shell- window. }Now, that C++ program, in addition to creating output files, because it runs for a long time, also outputs progress reports to the window created by -shell. TO CREATE FINAL OUTPUT FILES (.DTA AND. USE OUTPUT FILES CREATED BY THE ABOVE EXECUTABLE AS INPUTS Shell executable_compiled_from_c++_program_using_those_t ext_files_as_inputs_creating_new_output_files

DO THINGS BASED ON `x' TO CREATE AND EXPORT SOME TEXT FILES
