Skip to content
Snippets Groups Projects
Commit bd6971d3 authored by Marcus Comstedt's avatar Marcus Comstedt Committed by Martin Stjernholm
Browse files

Improved performance of Process.run when threads aren't supported.

Patch taken from githelper: Instead of calling Pike.DefaultBackend() until
p->status() says that the process has terminated, loop until both stdout and
stderr have been closed. This is better because otherwise we may be stuck
inside the backend for up to one second while the process is already
terminated. This change gives a considerable speedup on Solaris.
parent 2a45a464
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment