|
|
@ -2,10 +2,9 @@ use std::process::Command;
|
|
|
|
use std::env::current_exe;
|
|
|
|
use std::env::current_exe;
|
|
|
|
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
fn main() {
|
|
|
|
let mut path = current_exe()
|
|
|
|
let path = current_exe()
|
|
|
|
.expect("could not find current executable");
|
|
|
|
.expect("could not find current executable");
|
|
|
|
path.pop();
|
|
|
|
let path = path.with_file_name("process_b");
|
|
|
|
path.push("process_b");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let mut children = Vec::new();
|
|
|
|
let mut children = Vec::new();
|
|
|
|
for _ in 0..3 {
|
|
|
|
for _ in 0..3 {
|
|
|
|