Initial working version with child proc HANDLE.

Still very ugly, and more work needs to be done to make it all pretty again. Additionally, cleaned
up all the cfg attrs to shor version
This commit is contained in:
Steve Pentland authored and sharkdp committed 2018-02-13 21:02:32 +01:00
1 parent 79c375af0f
commit 9753eed85b
5 files changed
+72 -23

No files matched your search

+3 -3
View File
@@ -5,10 +5,10 @@ extern crate colored;
extern crate indicatif;
extern crate statistical;
#[cfg(not(target_os = "windows"))]
#[cfg(not(windows))]
extern crate libc;
#[cfg(target_os = "windows")]
#[cfg(windows)]
extern crate winapi;
#[cfg(test)]
@@ -149,7 +149,7 @@ fn main() {
OutputStyleOption::Basic
},
};
if options.output_style == OutputStyleOption::Basic {
colored::control::set_override(false);
}