2019-02-11 12:40:07 -06:00
|
|
|
use std::io::Write;
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let _ = ::std::iter::repeat('a' as u8).take(10).collect::<Vec<_>>();
|
|
|
|
let stderr = ::std::io::stderr();
|
|
|
|
let mut stderr = stderr.lock();
|
|
|
|
|
|
|
|
writeln!(stderr, "some {} text", "<unknown>").unwrap();
|
2019-02-16 07:02:15 -06:00
|
|
|
|
|
|
|
std::process::Command::new("true").env("c", "d").spawn();
|
2019-02-11 12:40:07 -06:00
|
|
|
}
|