jshell/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
//! # `jshell`
//! 
//! _A sandboxed shell that input and output JSON (which is handy)_
//! 
//! `jsh` intends to be secure by running everything inside a `chroot` and use a whitelist of authorized programs.
//! 
//! Built in the first place as a dependency of `pndr`, it should be able to be used through SSH!

use std::path::Path;

pub fn exec(_path: &Path, _cmd: &str) -> String {
    unimplemented!();
}