Commit 23f555fb authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Fix thread test use of sh

parent 033ab207
...@@ -111,7 +111,7 @@ fn thread_test() -> Result<(), String> { ...@@ -111,7 +111,7 @@ fn thread_test() -> Result<(), String> {
let mut sub_threads = Vec::new(); let mut sub_threads = Vec::new();
for j in 0..10 { for j in 0..10 {
sub_threads.push(thread::spawn(move || { sub_threads.push(thread::spawn(move || {
Command::new("sh") Command::new("ion")
.arg("-c") .arg("-c")
.arg(&format!("echo {}:{}", i, j)) .arg(&format!("echo {}:{}", i, j))
.spawn().unwrap() .spawn().unwrap()
...@@ -119,7 +119,7 @@ fn thread_test() -> Result<(), String> { ...@@ -119,7 +119,7 @@ fn thread_test() -> Result<(), String> {
})); }));
} }
Command::new("sh") Command::new("ion")
.arg("-c") .arg("-c")
.arg(&format!("echo {}", i)) .arg(&format!("echo {}", i))
.spawn().unwrap() .spawn().unwrap()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment