[go: up one dir, main page]

duct 0.13.3

a library for running child processes
Documentation
1
2
3
4
5
6
7
#![deny(warnings)]

fn main() {
    let secs: f32 = std::env::args().nth(1).unwrap().parse().unwrap();
    let millis = (1000f32 * secs) as u64;
    std::thread::sleep(std::time::Duration::from_millis(millis));
}