Run test process from a dedicated task

This avoids a race wherein test tasks could run processes that stole the
environment of other tasks's processes.
This commit is contained in:
Brian Anderson 2011-07-25 21:25:32 -07:00
parent bca34d11ef
commit 067cb6d537
3 changed files with 159 additions and 58 deletions

View file

@ -6,6 +6,7 @@ export program;
export run_program;
export start_program;
export program_output;
export spawn_process;
native "rust" mod rustrt {
fn rust_run_program(vbuf argv, int in_fd, int out_fd, int err_fd) -> int;