generated from PlexSheep/rs-base
13 lines
244 B
Rust
13 lines
244 B
Rust
|
const MAX: usize = 50;
|
||
|
use std::process::Command;
|
||
|
|
||
|
fn main() {
|
||
|
let mut pool = ThreadPool::new(MAX);
|
||
|
|
||
|
loop {
|
||
|
pool.execute(||{
|
||
|
Command::new("python3").args(["scripts/client.py"]).output().unwrap();
|
||
|
});
|
||
|
}
|
||
|
}
|