about summary refs log tree commit diff
path: root/src/lib/run_program.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-07-25 21:25:32 -0700
committerBrian Anderson <banderson@mozilla.com>2011-07-26 11:12:20 -0700
commit067cb6d53751b2c93d3e1ea45e7547069f865e6a (patch)
treeea64c5524c48b56640654faba395e4a12fc13db8 /src/lib/run_program.rs
parentbca34d11ef7d5f91dd0ebf438e3a99cba212e357 (diff)
downloadrust-067cb6d53751b2c93d3e1ea45e7547069f865e6a.tar.gz
rust-067cb6d53751b2c93d3e1ea45e7547069f865e6a.zip
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.
Diffstat (limited to 'src/lib/run_program.rs')
-rw-r--r--src/lib/run_program.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/run_program.rs b/src/lib/run_program.rs
index ea1210abe78..31f0de97d58 100644
--- a/src/lib/run_program.rs
+++ b/src/lib/run_program.rs
@@ -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;