From 03670e8574cd065435a8cc8ab2527dacc6839db8 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Wed, 29 Nov 2023 21:58:03 +0100 Subject: [PATCH] Fix docs exec path --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index f3b4548..cd79071 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -25,7 +25,7 @@ //! let _ = sandbox.add_exception(Exception::ExecuteAndRead("/lib".into())); //! //! // Initialize the sandbox; by default everything is prohibited. -//! let mut command = Command::new("/usr/bin/cat"); +//! let mut command = Command::new("/usr/cat"); //! command.arg(file.path()); //! let mut child = sandbox.spawn(command).unwrap(); //!