diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2011-07-14 14:00:12 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2011-07-14 14:00:12 -0400 |
commit | 0ab0efc3270f44da3d8b3a9db2845eeddde44dc6 (patch) | |
tree | c01efcb9b1c55b677478427b032dbcad2711d535 /indra/llcommon/llmetricperformancetester.h | |
parent | ec780a733f46e2fc436ca5d492f42ab4e3e8b516 (diff) |
Work around broken Windows command-line processing.
It's wonderful that the Python interpreter will accept a whole multi-line
script as a composite -c argument... but because Windows command-line
processing is fundamentally flawed, we simply can't count on it for Windows.
Instead, accept script text, write a temporary script file in a system-
dependent temp directory, ask Python to run that script and delete the file.
Also, on Windows, use _spawnl(), much simpler than adding bizarre Windows wait
logic to LLProcessLauncher. Use LLProcessLauncher only on Mac & Linux, with
waitpid() to capture rc.
Diffstat (limited to 'indra/llcommon/llmetricperformancetester.h')
0 files changed, 0 insertions, 0 deletions