RustyTerm 0.1.3

RustyTerm is an advanced terminal fully build in Rust.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::io::{self, Write};
use std::process::{exit, Command};
use std::{env, path};

pub fn cm_no_output(args: Vec<&str>, command: &str) {
    if args.len() < 1 {
        eprintln!("{}: missing filename o directory", command);
    } else {
        let _output = Command::new(command).args(&args[1..]).status().unwrap();
        /*
        if !output.success() {
            eprintln!("{}: command failed", command);
        }
        */
    }
}