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:
parent
bca34d11ef
commit
067cb6d537
3 changed files with 159 additions and 58 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue