use std::path::Path;
pub mod bash_runner;
pub mod bash_script_executor;
pub mod context;
pub mod error;
pub mod execution;
pub mod executor;
pub mod runner;
pub mod stateful_executor;
pub mod subprocess_runner;
pub mod util;
lazy_static! {
static ref SHELL_PATH: String = if let Ok(value) = std::env::var("SCRUT_DEFAULT_SHELL") {
value
} else if cfg!(target_os = "windows") {
"bash".to_string()
} else {
"/bin/bash".to_string()
};
pub static ref DEFAULT_SHELL: &'static Path = Path::new(&*SHELL_PATH as &str);
}