0 Members and 1 Guest are viewing this topic.
WriteLn(' [*] Performing long task...');LongTask();WriteLn(' [*] Long task done.');
Write(' [*] Performing long task... ');LongTask();WriteLn('done.');
[*] Performing long task (1)...[*] Long task done (1).[*] Performing long task (2)...[*] Long task done (2).[*] Performing long task (3)...[*] Long task done (2).
[*] Performing long task (1)...[*] Long task done (1). Performing long task (2)...[*] Long task done (2). Performing long task (3)...[*] Long task done (2).
[*] Performing long task (1)... done.[*] Performing long task (2)... done.[*] Performing long task (3)... done.
Example console output with many consecutive long tasks, allowing the Write function:Quote[*] Performing long task (1)... done.[*] Performing long task (2)... done.[*] Performing long task (3)... done.
[*] Performing long task (1)... [*] <Some text here> done.[*] Performing long task (2)... done.
...PC vs Mac is like AK47 vs M4A1...
I guess the problem could be fixed quite easily by just waiting for the script to run WriteLn, and then writing the line to the console. The buffer for each script should of course be kept separately (if this is easily done somehow (I've not looked into the scriptcore much, so I don't know)).